Uses of Class
org.glassfish.rmic.tools.java.Type
-
-
Uses of Type in org.glassfish.rmic
Methods in org.glassfish.rmic that return Type Modifier and Type Method Description TypeRemoteClass.Method. getType()Return the type of this method. -
Uses of Type in org.glassfish.rmic.asm
Methods in org.glassfish.rmic.asm that return Type Modifier and Type Method Description (package private) static TypeTypeFactory. createMethodType(java.lang.String descriptor)private TypeAsmClassFactory.ClassDefinitionVisitor. createType(java.lang.String desc)(package private) static TypeTypeFactory. createType(java.lang.String descriptor)private static TypeTypeFactory. toArrayType(org.objectweb.asm.Type asmType)private static TypeTypeFactory. toRmicType(org.objectweb.asm.Type asmType)private static Type[]TypeFactory. toTypeArray(org.objectweb.asm.Type[] argumentTypes)Constructors in org.glassfish.rmic.asm with parameters of type Type Constructor Description AsmMemberDefinition(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name, java.lang.Object value)Constructor for a field definitionAsmMemberDefinition(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name, java.lang.String[] exceptions)Constructor for a method definition -
Uses of Type in org.glassfish.rmic.iiop
Fields in org.glassfish.rmic.iiop declared as Type Modifier and Type Field Description (package private) TypeBatchEnvironment. typeException(package private) TypeBatchEnvironment. typeIOException(package private) TypeBatchEnvironment. typeRemoteException(package private) TypeBatchEnvironment. typeThrowableMethods in org.glassfish.rmic.iiop that return Type Modifier and Type Method Description TypeCompoundType.Method. getType()Return the type of this method.Methods in org.glassfish.rmic.iiop with parameters of type Type Modifier and Type Method Description static ArrayTypeArrayType. forArray(Type theType, ContextStack stack)Create an ArrayType object for the given type.static PrimitiveTypePrimitiveType. forPrimitive(Type type, ContextStack stack)Create a PrimitiveType object for the given type.protected static TypeType. getType(Type key, ContextStack stack)Get a type out of the table.private static intSpecialClassType. getTypeCode(Type type, ClassDefinition theClass, ContextStack stack)private booleanSpecialInterfaceType. initialize(Type type, ContextStack stack)private booleanCompoundType. isConformingConstantType(Type theType, MemberDefinition member)private static booleanSpecialInterfaceType. isSpecial(Type type, ClassDefinition theClass, ContextStack stack)protected static TypeCompoundType. makeType(Type theType, ClassDefinition classDef, ContextStack stack)protected static voidType. putType(Type key, Type value, ContextStack stack)Put a type into the table.protected static voidType. removeType(Type key, ContextStack stack)Remove a type from the table. -
Uses of Type in org.glassfish.rmic.tools.asm
Fields in org.glassfish.rmic.tools.asm declared as Type Modifier and Type Field Description (package private) TypeArrayData. typeConstructors in org.glassfish.rmic.tools.asm with parameters of type Type Constructor Description ArrayData(Type type, int nargs)ClassConstantData(ConstantPool tab, Type t) -
Uses of Type in org.glassfish.rmic.tools.binaryclass
Methods in org.glassfish.rmic.tools.binaryclass that return Type Modifier and Type Method Description TypeBinaryConstantPool. getType(int n)get a type from a type signatureConstructors in org.glassfish.rmic.tools.binaryclass with parameters of type Type Constructor Description BinaryMember(ClassDefinition clazz, int modifiers, Type type, Identifier name, BinaryAttribute atts)Constructor -
Uses of Type in org.glassfish.rmic.tools.java
Subclasses of Type in org.glassfish.rmic.tools.java Modifier and Type Class Description classArrayTypeThis class represents an Java array type.classClassTypeThis class represents an Java class type.classMethodTypeThis class represents an Java method type.Fields in org.glassfish.rmic.tools.java declared as Type Modifier and Type Field Description (package private) Type[]MethodType. argTypesThe argument types.private Type[]Parser. aTypes(package private) TypeArrayType. elemTypeThe type of the element.static Type[]Type. noArgs(package private) TypeMethodType. returnTypeThe return type.static TypeType. tBooleanstatic TypeType. tBytestatic TypeType. tCharstatic TypeType. tClassDescstatic TypeType. tCloneablestatic TypeType. tDoublestatic TypeType. tErrorstatic TypeType. tFloatstatic TypeType. tIntstatic TypeType. tLongstatic TypeType. tNullstatic TypeType. tObjectstatic TypeType. tPackagestatic TypeType. tSerializablestatic TypeType. tShortstatic TypeType. tStringstatic TypeType. tVoid(package private) TypeClassDeclaration. typeprotected TypeMemberDefinition. type(package private) TypeIdentifier. typeObjectThe Type which corresponds to this Identifier.Fields in org.glassfish.rmic.tools.java with type parameters of type Type Modifier and Type Field Description private static java.util.Hashtable<java.lang.String,Type>Type. typeHashThis hashtable is used to cache typesMethods in org.glassfish.rmic.tools.java that return Type Modifier and Type Method Description Type[]MethodType. getArgumentTypes()Type[]Type. getArgumentTypes()Return the argument types.TypeArrayType. getElementType()TypeType. getElementType()Return the element type of an array type.TypeMethodType. getReturnType()TypeType. getReturnType()Return the return type.TypeClassDeclaration. getType()Get the type of the classTypeClassDefinition. getType()Get the class' typeTypeMemberDefinition. getType()Get the field's typeprotected TypeParser. parseArrayBrackets(Type t)Parse the tail of a type expression, which might be array brackets.protected TypeParser. parseType()Parse a type expression, this results in a Type.TypeEnvironment. resolveNames(ClassDefinition c, Type t, boolean synth)Resolve the names within a type, returning the adjusted type.static TypeType. tArray(Type elem)Create an array type.static TypeType. tClass(Identifier className)Create a class type.static TypeType. tMethod(Type ret)Create a method type with no arguments.static TypeType. tMethod(Type returnType, Type[] argTypes)Create a method type with arguments.static TypeType. tType(java.lang.String sig)Create a Type from an Java type signature.Methods in org.glassfish.rmic.tools.java with parameters of type Type Modifier and Type Method Description private voidParser. addArgument(int mod, Type t, IdentifierToken nm)VsetClassDefinition. checkLocalClass(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes)booleanEnvironment. classExists(Type t)protected voidParser. defineField(long where, java.lang.String doc, int mod, Type t, Identifier nm, Identifier[] args, Identifier[] exp, Node val)Deprecated.Use the version with the IdentifierToken arguments.voidParser. defineField(long where, ClassDefinition c, java.lang.String doc, int mod, Type t, IdentifierToken nm, IdentifierToken[] args, IdentifierToken[] exp, Node val)Deprecated.voidParserActions. defineField(long where, ClassDefinition c, java.lang.String doc, int mod, Type t, IdentifierToken nm, IdentifierToken[] args, IdentifierToken[] exp, Node val)Define a fieldprivate booleanClassDefinition. diagnoseMismatch(Environment env, Identifier nm, Type[] argTypes, int start, int[] haveMatch, Type[] margType)intClassDefinition. diagnoseMismatch(Environment env, Identifier nm, Type[] argTypes, int start, Type[] margTypeResult)Given the fact that this class has no method "nm" matching "argTypes", find out if the mismatch can be blamed on a particular actual argument which disagrees with all of the overloadings.booleanMethodType. equalArguments(Type t)booleanType. equalArguments(Type t)Check if the type arguments are the same.booleanEnvironment. explicitCast(Type from, Type to)Return true if an explicit cast from this type to the given type is allowed.MemberDefinitionClassDefinition. findMethod(Environment env, Identifier nm, Type t)Find a method, ie: exact match in this class or any of the super classes.ClassDeclarationEnvironment. getClassDeclaration(Type t)Return a class declaration given a type.ClassDefinitionEnvironment. getClassDefinition(Type t)Return a class definition given a type.booleanEnvironment. implicitCast(Type from, Type to)Return true if an implicit cast from this type to the given type is allowed.booleanEnvironment. isApplicable(MemberDefinition m, Type[] args)Returns true if the given method is applicable to the given argumentsbooleanEnvironment. isMoreSpecific(Type from, Type to)Returns true if "from" is a more specific type than "to"MemberDefinitionMethodSet. lookupSig(Identifier name, Type type)If the MethodSet contains a method with the same signature then lookup() returns it.MemberDefinitionEnvironment. makeMemberDefinition(Environment origEnv, long where, ClassDefinition clazz, java.lang.String doc, int modifiers, Type type, Identifier name, IdentifierToken[] argNames, IdentifierToken[] expIds, java.lang.Object value)Create a new field.MemberDefinitionClassDefinition. matchAnonConstructor(Environment env, Identifier accessPackage, Type[] argumentTypes)A version of matchMethod to be used only for constructors when we cannot pass in a sourceClass argument.MemberDefinitionClassDefinition. matchMethod(Environment env, ClassDefinition accessor, Identifier methodName, Type[] argumentTypes)Lookup a method.private MemberDefinitionClassDefinition. matchMethod(Environment env, ClassDefinition accessor, Identifier methodName, Type[] argumentTypes, boolean isAnonConstCall, Identifier accessPackage)Lookup a method.protected TypeParser. parseArrayBrackets(Type t)Parse the tail of a type expression, which might be array brackets.booleanClassDefinition. protectedAccess(Environment env, MemberDefinition f, Type accessorType)We know the field is marked protected (and not public) and that the field is visible (as per canAccess).booleanEnvironment. resolve(long where, ClassDefinition c, Type t)Resolve a type.TypeEnvironment. resolveNames(ClassDefinition c, Type t, boolean synth)Resolve the names within a type, returning the adjusted type.static TypeType. tArray(Type elem)Create an array type.static TypeType. tMethod(Type ret)Create a method type with no arguments.static TypeType. tMethod(Type returnType, Type[] argTypes)Create a method type with arguments.Constructors in org.glassfish.rmic.tools.java with parameters of type Type Constructor Description ArrayType(java.lang.String typeSig, Type elemType)Construct an array type.MemberDefinition(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name, IdentifierToken[] expIds, Node value)ConstructorMethodType(java.lang.String typeSig, Type returnType, Type[] argTypes)Construct a method type. -
Uses of Type in org.glassfish.rmic.tools.javac
Fields in org.glassfish.rmic.tools.javac declared as Type Modifier and Type Field Description private TypeSourceClass. dummyArgumentTypeDeprecated.Access methods for constructors are distinguished from the constructors themselves by a dummy first argument.Fields in org.glassfish.rmic.tools.javac with type parameters of type Type Modifier and Type Field Description private java.util.Hashtable<Type,ClassDeclaration>BatchEnvironment. classesThe classes, keyed by ClassDeclaration.Methods in org.glassfish.rmic.tools.javac with parameters of type Type Modifier and Type Method Description VsetSourceClass. checkLocalClass(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes)Deprecated.During the type-checking of an outer method body or initializer, this routine is called to check a local class body in the proper context.voidBatchParser. defineField(long where, ClassDefinition c, java.lang.String doc, int mod, Type t, IdentifierToken name, IdentifierToken[] args, IdentifierToken[] exp, Node val)Deprecated.Define a methodClassDeclarationBatchEnvironment. getClassDeclaration(Type t)MemberDefinitionBatchEnvironment. makeMemberDefinition(Environment origEnv, long where, ClassDefinition clazz, java.lang.String doc, int modifiers, Type type, Identifier name, IdentifierToken[] argNames, IdentifierToken[] expIds, java.lang.Object value)Create a new field.private voidSourceClass. resolveAnonymousStructure(Environment env, ClassDefinition sup, Expression[] args, Type[] argTypes)Deprecated.Just before checking an anonymous class, decide its true inheritance, and build its (sole, implicit) constructor.Constructors in org.glassfish.rmic.tools.javac with parameters of type Type Constructor Description SourceMember(long where, ClassDefinition clazz, java.lang.String doc, int modifiers, Type type, Identifier name, java.util.Vector<MemberDefinition> argNames, IdentifierToken[] exp, Node value)Deprecated.Constructor -
Uses of Type in org.glassfish.rmic.tools.tree
Fields in org.glassfish.rmic.tools.tree declared as Type Modifier and Type Field Description protected TypeAssignOpExpression. itype(package private) TypeExpression. typeMethods in org.glassfish.rmic.tools.tree that return Type Modifier and Type Method Description TypeExpression. getType()(package private) TypeArrayAccessExpression. toType(Environment env, Type t)(package private) TypeArrayAccessExpression. toType(Environment env, Context ctx)Convert to a type(package private) TypeExpression. toType(Environment env, Context ctx)Convert an expresion to a type(package private) TypeFieldExpression. toType(Environment env, Context ctx)Convert an '.' expression to a type(package private) TypeIdentifierExpression. toType(Environment env, Context ctx)Convert an identifier to a type.(package private) TypeTypeExpression. toType(Environment env, Context ctx)Convert to a typeMethods in org.glassfish.rmic.tools.tree with parameters of type Type Modifier and Type Method Description (package private) VsetStatement. checkDeclaration(Environment env, Context ctx, Vset vset, int mod, Type t, java.util.Hashtable<java.lang.Object,java.lang.Object> exp)(package private) VsetVarDeclarationStatement. checkDeclaration(Environment env, Context ctx, Vset vset, int mod, Type t, java.util.Hashtable<java.lang.Object,java.lang.Object> exp)Check statementVsetArrayExpression. checkInitializer(Environment env, Context ctx, Vset vset, Type t, java.util.Hashtable<java.lang.Object,java.lang.Object> exp)VsetExpression. checkInitializer(Environment env, Context ctx, Vset vset, Type t, java.util.Hashtable<java.lang.Object,java.lang.Object> exp)(package private) voidExpression. codeConversion(Environment env, Context ctx, Assembler asm, Type f, Type t)(package private) voidStatement. codeFinally(Environment env, Context ctx, Assembler asm, Context stopctx, Type save)Generate the code to call all finally's for a break, continue, or return statement.ExpressionNode. convert(Environment env, Context ctx, Type t, Expression e)Implicit conversions(package private) booleanMethodExpression. diagnoseMismatch(Environment env, Expression[] args, Type[] argTypes)We're about to report a "unmatched method" error.booleanExpression. fitsType(Environment env, Type t)Deprecated.(for backward compatibility)booleanExpression. fitsType(Environment env, Context ctx, Type t)See if this expression fits in the given type.booleanIntegerExpression. fitsType(Environment env, Context ctx, Type t)See if this number fits in the given type.(package private) static booleanFieldExpression. isTypeAccessible(long where, Environment env, Type t, ClassDefinition c)Determine if a type is accessible from a given class.(package private) TypeArrayAccessExpression. toType(Environment env, Type t)Constructors in org.glassfish.rmic.tools.tree with parameters of type Type Constructor Description BinaryExpression(int op, long where, Type type, Expression left, Expression right)ConstructorConstantExpression(int op, long where, Type type)ConstructorConvertExpression(long where, Type type, Expression right)ConstructorExpression(int op, long where, Type type)ConstructorInlineMethodExpression(long where, Type type, MemberDefinition field, Statement body)ConstructorInlineNewInstanceExpression(long where, Type type, MemberDefinition field, Statement body)ConstructorIntegerExpression(int op, long where, Type type, int value)ConstructorLocalMember(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name)ConstructorNaryExpression(int op, long where, Type type, Expression right, Expression[] args)ConstructorTypeExpression(long where, Type type)ConstructorUnaryExpression(int op, long where, Type type, Expression right)Constructor
-