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 Type
RemoteClass.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 Type
TypeFactory. createMethodType(java.lang.String descriptor)
private Type
AsmClassFactory.ClassDefinitionVisitor. createType(java.lang.String desc)
(package private) static Type
TypeFactory. createType(java.lang.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 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) 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 Type Modifier and Type Method Description Type
CompoundType.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 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 Type Modifier and Type Field Description (package private) Type
ArrayData. type
Constructors 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 Type
BinaryConstantPool. 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 class
ArrayType
This class represents an Java array type.class
ClassType
This class represents an Java class type.class
MethodType
This 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. argTypes
The argument types.private Type[]
Parser. aTypes
(package private) Type
ArrayType. elemType
The type of the element.static Type[]
Type. noArgs
(package private) Type
MethodType. returnType
The return type.static Type
Type. tBoolean
static Type
Type. tByte
static Type
Type. tChar
static Type
Type. tClassDesc
static Type
Type. tCloneable
static Type
Type. tDouble
static Type
Type. tError
static Type
Type. tFloat
static Type
Type. tInt
static Type
Type. tLong
static Type
Type. tNull
static Type
Type. tObject
static Type
Type. tPackage
static Type
Type. tSerializable
static Type
Type. tShort
static Type
Type. tString
static 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 Type Modifier and Type Field Description private static java.util.Hashtable<java.lang.String,Type>
Type. typeHash
This 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.Type
ArrayType. getElementType()
Type
Type. getElementType()
Return the element type of an array type.Type
MethodType. getReturnType()
Type
Type. getReturnType()
Return the return type.Type
ClassDeclaration. getType()
Get the type of the classType
ClassDefinition. getType()
Get the class' typeType
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.Type
Environment. resolveNames(ClassDefinition c, Type t, boolean synth)
Resolve the names within a type, returning the adjusted type.static Type
Type. tArray(Type elem)
Create an array type.static Type
Type. tClass(Identifier className)
Create a class type.static Type
Type. tMethod(Type ret)
Create a method type with no arguments.static Type
Type. tMethod(Type returnType, Type[] argTypes)
Create a method type with arguments.static Type
Type. 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 void
Parser. addArgument(int mod, Type t, IdentifierToken nm)
Vset
ClassDefinition. checkLocalClass(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes)
boolean
Environment. classExists(Type t)
protected void
Parser. 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.void
Parser. defineField(long where, ClassDefinition c, java.lang.String doc, int mod, Type t, IdentifierToken nm, IdentifierToken[] args, IdentifierToken[] exp, Node val)
Deprecated.void
ParserActions. defineField(long where, ClassDefinition c, java.lang.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.MemberDefinition
ClassDefinition. findMethod(Environment env, Identifier nm, Type t)
Find a method, ie: exact match in this class or any of the super classes.ClassDeclaration
Environment. getClassDeclaration(Type t)
Return a class declaration given a type.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"MemberDefinition
MethodSet. lookupSig(Identifier name, Type type)
If the MethodSet contains a method with the same signature then lookup() returns it.MemberDefinition
Environment. 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.MemberDefinition
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.MemberDefinition
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.Type
Environment. resolveNames(ClassDefinition c, Type t, boolean synth)
Resolve the names within a type, returning the adjusted type.static Type
Type. tArray(Type elem)
Create an array type.static Type
Type. tMethod(Type ret)
Create a method type with no arguments.static Type
Type. 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 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 Type Modifier and Type Field Description private java.util.Hashtable<Type,ClassDeclaration>
BatchEnvironment. classes
The classes, keyed by ClassDeclaration.Methods in org.glassfish.rmic.tools.javac with parameters of type Type Modifier and Type Method Description Vset
SourceClass. 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, java.lang.String doc, int mod, Type t, IdentifierToken name, IdentifierToken[] args, IdentifierToken[] exp, Node val)
Deprecated.Define a methodClassDeclaration
BatchEnvironment. getClassDeclaration(Type t)
MemberDefinition
BatchEnvironment. 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 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 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 Type
AssignOpExpression. itype
(package private) Type
Expression. type
Methods in org.glassfish.rmic.tools.tree that return Type Modifier and Type Method Description Type
Expression. 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 Type Modifier and Type Method Description (package private) Vset
Statement. checkDeclaration(Environment env, Context ctx, Vset vset, int mod, Type t, java.util.Hashtable<java.lang.Object,java.lang.Object> exp)
(package private) Vset
VarDeclarationStatement. checkDeclaration(Environment env, Context ctx, Vset vset, int mod, Type t, java.util.Hashtable<java.lang.Object,java.lang.Object> exp)
Check statementVset
ArrayExpression. checkInitializer(Environment env, Context ctx, Vset vset, Type t, java.util.Hashtable<java.lang.Object,java.lang.Object> exp)
Vset
Expression. checkInitializer(Environment env, Context ctx, Vset vset, Type t, java.util.Hashtable<java.lang.Object,java.lang.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.Expression
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 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
-