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 Type
TypeFactory.createMethodType
(String descriptor) private Type
AsmClassFactory.ClassDefinitionVisitor.createType
(String desc) (package private) static Type
TypeFactory.createType
(String descriptor) private static Type
TypeFactory.toArrayType
(org.objectweb.asm.Type asmType) private static Type
TypeFactory.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) Type
BatchEnvironment.typeException
(package private) Type
BatchEnvironment.typeIOException
(package private) Type
BatchEnvironment.typeRemoteException
(package private) Type
BatchEnvironment.typeThrowable
Methods in org.glassfish.rmic.iiop that return TypeMethods in org.glassfish.rmic.iiop with parameters of type TypeModifier and TypeMethodDescriptionstatic ArrayType
ArrayType.forArray
(Type theType, ContextStack stack) Create an ArrayType object for the given type.static PrimitiveType
PrimitiveType.forPrimitive
(Type type, ContextStack stack) Create a PrimitiveType object for the given type.protected static Type
Type.getType
(Type key, ContextStack stack) Get a type out of the table.private static int
SpecialClassType.getTypeCode
(Type type, ClassDefinition theClass, ContextStack stack) private boolean
SpecialInterfaceType.initialize
(Type type, ContextStack stack) private boolean
CompoundType.isConformingConstantType
(Type theType, MemberDefinition member) private static boolean
SpecialInterfaceType.isSpecial
(Type type, ClassDefinition theClass, ContextStack stack) protected static Type
CompoundType.makeType
(Type theType, ClassDefinition classDef, ContextStack stack) protected static void
Type.putType
(Type key, Type value, ContextStack stack) Put a type into the table.protected static void
Type.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 class
This class represents an Java array type.final class
This class represents an Java class type.final class
This class represents an Java method type.Fields in org.glassfish.rmic.tools.java declared as TypeModifier and TypeFieldDescription(package private) Type[]
MethodType.argTypes
The argument types.private Type[]
Parser.aTypes
(package private) Type
ArrayType.elemType
The type of the element.static final Type[]
Type.noArgs
(package private) Type
MethodType.returnType
The return type.static final Type
Type.tBoolean
static final Type
Type.tByte
static final Type
Type.tChar
static final Type
Type.tClassDesc
static final Type
Type.tCloneable
static final Type
Type.tDouble
static final Type
Type.tError
static final Type
Type.tFloat
static final Type
Type.tInt
static final Type
Type.tLong
static final Type
Type.tNull
static final Type
Type.tObject
static final Type
Type.tPackage
static final Type
Type.tSerializable
static final Type
Type.tShort
static final Type
Type.tString
static final Type
Type.tVoid
(package private) Type
ClassDeclaration.type
protected Type
MemberDefinition.type
(package private) Type
Identifier.typeObject
The 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 Type
ClassDefinition.getType()
Get the class' typefinal Type
MemberDefinition.getType()
Get the field's typeprotected Type
Parser.parseArrayBrackets
(Type t) Parse the tail of a type expression, which might be array brackets.protected Type
Parser.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 Type
Create an array type.static Type
Type.tClass
(Identifier className) Create a class type.static Type
Create a method type with no arguments.static Type
Create a method type with arguments.static Type
Create a Type from an Java type signature.Methods in org.glassfish.rmic.tools.java with parameters of type TypeModifier and TypeMethodDescriptionprivate void
Parser.addArgument
(int mod, Type t, IdentifierToken nm) ClassDefinition.checkLocalClass
(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes) final boolean
Environment.classExists
(Type t) protected void
Parser.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.void
Parser.defineField
(long where, ClassDefinition c, String doc, int mod, Type t, IdentifierToken nm, IdentifierToken[] args, IdentifierToken[] exp, Node val) Deprecated.void
ParserActions.defineField
(long where, ClassDefinition c, String doc, int mod, Type t, IdentifierToken nm, IdentifierToken[] args, IdentifierToken[] exp, Node val) Define a fieldprivate boolean
ClassDefinition.diagnoseMismatch
(Environment env, Identifier nm, Type[] argTypes, int start, int[] haveMatch, Type[] margType) int
ClassDefinition.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.boolean
MethodType.equalArguments
(Type t) boolean
Type.equalArguments
(Type t) Check if the type arguments are the same.boolean
Environment.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 ClassDefinition
Environment.getClassDefinition
(Type t) Return a class definition given a type.boolean
Environment.implicitCast
(Type from, Type to) Return true if an implicit cast from this type to the given type is allowed.boolean
Environment.isApplicable
(MemberDefinition m, Type[] args) Returns true if the given method is applicable to the given argumentsboolean
Environment.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 MemberDefinition
ClassDefinition.matchMethod
(Environment env, ClassDefinition accessor, Identifier methodName, Type[] argumentTypes, boolean isAnonConstCall, Identifier accessPackage) Lookup a method.protected Type
Parser.parseArrayBrackets
(Type t) Parse the tail of a type expression, which might be array brackets.boolean
ClassDefinition.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).boolean
Environment.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 Type
Create an array type.static Type
Create a method type with no arguments.static Type
Create 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 Type
SourceClass.dummyArgumentType
Deprecated.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.classes
The 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.void
BatchParser.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 void
SourceClass.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 Type
AssignOpExpression.itype
(package private) Type
Expression.type
Methods in org.glassfish.rmic.tools.tree that return TypeModifier and TypeMethodDescriptionExpression.getType()
(package private) Type
ArrayAccessExpression.toType
(Environment env, Type t) (package private) Type
ArrayAccessExpression.toType
(Environment env, Context ctx) Convert to a type(package private) Type
Expression.toType
(Environment env, Context ctx) Convert an expresion to a type(package private) Type
FieldExpression.toType
(Environment env, Context ctx) Convert an '.' expression to a type(package private) Type
IdentifierExpression.toType
(Environment env, Context ctx) Convert an identifier to a type.(package private) Type
TypeExpression.toType
(Environment env, Context ctx) Convert to a typeMethods in org.glassfish.rmic.tools.tree with parameters of type TypeModifier and TypeMethodDescription(package private) Vset
Statement.checkDeclaration
(Environment env, Context ctx, Vset vset, int mod, Type t, Hashtable<Object, Object> exp) (package private) Vset
VarDeclarationStatement.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) void
Expression.codeConversion
(Environment env, Context ctx, Assembler asm, Type f, Type t) (package private) void
Statement.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) boolean
MethodExpression.diagnoseMismatch
(Environment env, Expression[] args, Type[] argTypes) We're about to report a "unmatched method" error.boolean
Expression.fitsType
(Environment env, Type t) Deprecated.(for backward compatibility)boolean
Expression.fitsType
(Environment env, Context ctx, Type t) See if this expression fits in the given type.boolean
IntegerExpression.fitsType
(Environment env, Context ctx, Type t) See if this number fits in the given type.(package private) static boolean
FieldExpression.isTypeAccessible
(long where, Environment env, Type t, ClassDefinition c) Determine if a type is accessible from a given class.(package private) Type
ArrayAccessExpression.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