Uses of Class
org.glassfish.rmic.tools.java.Type
Packages that use Type
Package
Description
-
Uses of Type in org.glassfish.rmic
Methods in org.glassfish.rmic that return Type -
Uses of Type in org.glassfish.rmic.asm
Methods in org.glassfish.rmic.asm that return TypeModifier and TypeMethodDescription(package private) static TypeTypeFactory.createMethodType(String descriptor) private TypeAsmClassFactory.ClassDefinitionVisitor.createType(String desc) (package private) static TypeTypeFactory.createType(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 TypeModifierConstructorDescription(package private)AsmMemberDefinition(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name, Object value) Constructor for a field definition(package private)AsmMemberDefinition(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name, String[] exceptions) Constructor for a method definition -
Uses of Type in org.glassfish.rmic.iiop
Fields in org.glassfish.rmic.iiop declared as TypeModifier and TypeFieldDescription(package private) TypeBatchEnvironment.typeException(package private) TypeBatchEnvironment.typeIOException(package private) TypeBatchEnvironment.typeRemoteException(package private) TypeBatchEnvironment.typeThrowableMethods in org.glassfish.rmic.iiop that return TypeMethods in org.glassfish.rmic.iiop with parameters of type TypeModifier and TypeMethodDescriptionstatic 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 TypeConstructors in org.glassfish.rmic.tools.asm with parameters of type Type -
Uses of Type in org.glassfish.rmic.tools.binaryclass
Methods in org.glassfish.rmic.tools.binaryclass that return TypeModifier and TypeMethodDescriptionBinaryConstantPool.getType(int n) get a type from a type signatureConstructors in org.glassfish.rmic.tools.binaryclass with parameters of type TypeModifierConstructorDescriptionBinaryMember(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.javaModifier and TypeClassDescriptionfinal classThis class represents an Java array type.final classThis class represents an Java class type.final classThis class represents an Java method type.Fields in org.glassfish.rmic.tools.java declared as TypeModifier and TypeFieldDescription(package private) Type[]MethodType.argTypesThe argument types.private Type[]Parser.aTypes(package private) TypeArrayType.elemTypeThe type of the element.static final Type[]Type.noArgs(package private) TypeMethodType.returnTypeThe return type.static final TypeType.tBooleanstatic final TypeType.tBytestatic final TypeType.tCharstatic final TypeType.tClassDescstatic final TypeType.tCloneablestatic final TypeType.tDoublestatic final TypeType.tErrorstatic final TypeType.tFloatstatic final TypeType.tIntstatic final TypeType.tLongstatic final TypeType.tNullstatic final TypeType.tObjectstatic final TypeType.tPackagestatic final TypeType.tSerializablestatic final TypeType.tShortstatic final TypeType.tStringstatic final 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 TypeMethods in org.glassfish.rmic.tools.java that return TypeModifier and TypeMethodDescriptionType[]MethodType.getArgumentTypes()Type[]Type.getArgumentTypes()Return the argument types.ArrayType.getElementType()Type.getElementType()Return the element type of an array type.MethodType.getReturnType()Type.getReturnType()Return the return type.ClassDeclaration.getType()Get the type of the classfinal TypeClassDefinition.getType()Get the class' typefinal TypeMemberDefinition.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.Environment.resolveNames(ClassDefinition c, Type t, boolean synth) Resolve the names within a type, returning the adjusted type.static TypeCreate an array type.static TypeType.tClass(Identifier className) Create a class type.static TypeCreate a method type with no arguments.static TypeCreate a method type with arguments.static TypeCreate a Type from an Java type signature.Methods in org.glassfish.rmic.tools.java with parameters of type TypeModifier and TypeMethodDescriptionprivate voidParser.addArgument(int mod, Type t, IdentifierToken nm) ClassDefinition.checkLocalClass(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes) final booleanEnvironment.classExists(Type t) protected voidParser.defineField(long where, 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, String doc, int mod, Type t, IdentifierToken nm, IdentifierToken[] args, IdentifierToken[] exp, Node val) Deprecated.voidParserActions.defineField(long where, ClassDefinition c, 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.ClassDefinition.findMethod(Environment env, Identifier nm, Type t) Find a method, ie: exact match in this class or any of the super classes.Environment.getClassDeclaration(Type t) Return a class declaration given a type.final 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"MethodSet.lookupSig(Identifier name, Type type) If the MethodSet contains a method with the same signature then lookup() returns it.Environment.makeMemberDefinition(Environment origEnv, long where, ClassDefinition clazz, String doc, int modifiers, Type type, Identifier name, IdentifierToken[] argNames, IdentifierToken[] expIds, Object value) Create a new field.ClassDefinition.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.ClassDefinition.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.Environment.resolveNames(ClassDefinition c, Type t, boolean synth) Resolve the names within a type, returning the adjusted type.static TypeCreate an array type.static TypeCreate a method type with no arguments.static TypeCreate a method type with arguments.Constructors in org.glassfish.rmic.tools.java with parameters of type TypeModifierConstructorDescription(package private)Construct an array type.MemberDefinition(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name, IdentifierToken[] expIds, Node value) Constructor(package private)MethodType(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 TypeModifier and TypeFieldDescriptionprivate 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 TypeModifier and TypeFieldDescriptionprivate Hashtable<Type, ClassDeclaration> BatchEnvironment.classesThe classes, keyed by ClassDeclaration.Methods in org.glassfish.rmic.tools.javac with parameters of type TypeModifier and TypeMethodDescriptionSourceClass.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, String doc, int mod, Type t, IdentifierToken name, IdentifierToken[] args, IdentifierToken[] exp, Node val) Deprecated.Define a methodBatchEnvironment.getClassDeclaration(Type t) BatchEnvironment.makeMemberDefinition(Environment origEnv, long where, ClassDefinition clazz, String doc, int modifiers, Type type, Identifier name, IdentifierToken[] argNames, IdentifierToken[] expIds, 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 TypeModifierConstructorDescriptionSourceMember(long where, ClassDefinition clazz, String doc, int modifiers, Type type, Identifier name, 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 TypeModifier and TypeFieldDescriptionprotected TypeAssignOpExpression.itype(package private) TypeExpression.typeMethods in org.glassfish.rmic.tools.tree that return TypeModifier and TypeMethodDescriptionExpression.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 TypeModifier and TypeMethodDescription(package private) VsetStatement.checkDeclaration(Environment env, Context ctx, Vset vset, int mod, Type t, Hashtable<Object, Object> exp) (package private) VsetVarDeclarationStatement.checkDeclaration(Environment env, Context ctx, Vset vset, int mod, Type t, Hashtable<Object, Object> exp) Check statementArrayExpression.checkInitializer(Environment env, Context ctx, Vset vset, Type t, Hashtable<Object, Object> exp) Expression.checkInitializer(Environment env, Context ctx, Vset vset, Type t, Hashtable<Object, 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.Node.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 TypeModifierConstructorDescription(package private)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) Constructor(package private)Expression(int op, long where, Type type) Constructor(package private)InlineMethodExpression(long where, Type type, MemberDefinition field, Statement body) Constructor(package private)InlineNewInstanceExpression(long where, Type type, MemberDefinition field, Statement body) Constructor(package private)IntegerExpression(int op, long where, Type type, int value) ConstructorLocalMember(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name) Constructor(package private)NaryExpression(int op, long where, Type type, Expression right, Expression[] args) ConstructorTypeExpression(long where, Type type) Constructor(package private)UnaryExpression(int op, long where, Type type, Expression right) Constructor