CodeBuilderUtils Class

  • java.lang.Object
    • microsoft.servicefabric.services.remoting.builder.CodeBuilderUtils

public class CodeBuilderUtils

CodeBuilder utility methods. For internal use only.

Method Summary

Modifier and Type Method and Description
void addDataMemberField(ClassWriter cw, Class<?> argumentType, String fieldName)
String getJvmClassName(Class<?> type)
String getJvmClassName(String type)
String getJvmSignature(Class<?> type)
String getJvmSignature(String typeName)
String getMethodSignature(Method method)
ClassWriter initializeClassBuilder(ClassWriter cw, String name, Class<?> baseType, Class<?>... interfaces)

Method Details

addDataMemberField

public static void addDataMemberField(ClassWriter cw, Class argumentType, String fieldName)

Parameters:

cw
argumentType
fieldName

getJvmClassName

public static String getJvmClassName(Class type)

Parameters:

type

getJvmClassName

public static String getJvmClassName(String type)

Parameters:

type

getJvmSignature

public static String getJvmSignature(Class type)

Parameters:

type

getJvmSignature

public static String getJvmSignature(String typeName)

Parameters:

typeName

getMethodSignature

public static String getMethodSignature(Method method)

Parameters:

method

initializeClassBuilder

public static ClassWriter initializeClassBuilder(ClassWriter cw, String name, Class baseType, Class... interfaces)

Parameters:

cw
name
baseType
interfaces

Applies to