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.iiop
Methods 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.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
Constructors 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 TypeFieldDescriptionstatic final Type[]Type.noArgsstatic 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.tVoidprotected TypeMemberDefinition.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 TypeMethodDescriptionClassDefinition.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 fieldintClassDefinition.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.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 TypeModifierConstructorDescriptionMemberDefinition(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name, IdentifierToken[] expIds, Node value) Constructor -
Uses of Type in org.glassfish.rmic.tools.javac
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.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 TypeMethods in org.glassfish.rmic.tools.tree that return TypeMethods in org.glassfish.rmic.tools.tree with parameters of type TypeModifier and TypeMethodDescriptionArrayExpression.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) Node.convert(Environment env, Context ctx, Type t, Expression e) Implicit conversionsbooleanExpression.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.Constructors in org.glassfish.rmic.tools.tree with parameters of type TypeModifierConstructorDescriptionConvertExpression(long where, Type type, Expression right) ConstructorLocalMember(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name) ConstructorTypeExpression(long where, Type type) Constructor