Class StructuralTypeProxyGenerator
java.lang.Object
gw.internal.gosu.ir.compiler.bytecode.expression.StructuralTypeProxyGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringBuildergenerateProxy(IType ifaceType, IType type, String name) private voidgenInterfaceMethodDecl(StringBuilder sb, IMethodInfo mi, IType rootType) private voidgenInterfacePropertyDecl(StringBuilder sb, IPropertyInfo pi, IType rootType) private StringgetNamespace(IType ifaceType) private StringgetReflectiveName(IAttributedFeatureInfo pi, IType rootType, ITypeInfo rootTypeInfo) private StringimplementIface(IType ifaceType, IType rootType) private booleanimplementsMethod(IType type, IMethodInfo mi) private static booleanstatic Classprivate StringmaybeCastParamType(IMethodInfo ifaceMethod, IType paramType, IType rootType, int iParam) private StringmaybeCastPropertyAssignment(IPropertyInfo pi, IType rootType) private StringmaybeCastReturnType(IMethodInfo mi, IType returnType, IType rootType)
-
Field Details
-
_bStatic
private final boolean _bStatic -
_type
-
-
Constructor Details
-
StructuralTypeProxyGenerator
private StructuralTypeProxyGenerator(boolean bStatic)
-
-
Method Details
-
makeProxy
-
generateProxy
-
getNamespace
-
implementIface
-
genInterfaceMethodDecl
-
implementsMethod
-
maybeCastReturnType
-
maybeCastParamType
private String maybeCastParamType(IMethodInfo ifaceMethod, IType paramType, IType rootType, int iParam) -
maybeCastPropertyAssignment
-
genInterfacePropertyDecl
-
getReflectiveName
-
isExpando
-