Uses of Class
org.glassfish.rmic.tools.java.ClassDefinition
-
-
Uses of ClassDefinition in org.glassfish.rmic
Fields in org.glassfish.rmic declared as ClassDefinition Modifier and Type Field Description private ClassDefinitionRemoteClass. defExceptionprivate ClassDefinitionRemoteClass. defRemotecached definition for certain classes used in this environmentprivate ClassDefinitionRemoteClass. defRemoteExceptionprivate ClassDefinitionRemoteClass. implClassDefthe remote implementation class this object corresponds toprivate ClassDefinition[]RemoteClass. remoteInterfacesremote interfaces implemented by this classMethods in org.glassfish.rmic that return ClassDefinition Modifier and Type Method Description ClassDefinitionRemoteClass. getClassDefinition()Return the ClassDefinition for this class.ClassDefinition[]RemoteClass. getRemoteInterfaces()Return an array of ClassDefinitions representing all of the remote interfaces implemented by this class.Methods in org.glassfish.rmic with parameters of type ClassDefinition Modifier and Type Method Description private booleanRemoteClass. collectRemoteMethods(ClassDefinition interfaceDef, java.util.Hashtable<java.lang.String,RemoteClass.Method> table)Collect and validate all methods from given interface and all of its superinterfaces as remote methods.static RemoteClassRemoteClass. forClass(BatchEnvironment env, ClassDefinition implClassDef)Create a RemoteClass object representing the remote meta-information of the given class.voidGenerator. generate(BatchEnvironment env, java.io.File destDir, ClassDefinition cdef)Generate output.voidRMIGenerator. generate(BatchEnvironment env, java.io.File destDir, ClassDefinition cdef)Generate the source files for the stub and/or skeleton classes needed by RMI for the given remote implementation class.Constructors in org.glassfish.rmic with parameters of type ClassDefinition Constructor Description RemoteClass(BatchEnvironment env, ClassDefinition implClassDef)Create a RemoteClass instance for the given class. -
Uses of ClassDefinition in org.glassfish.rmic.asm
Subclasses of ClassDefinition in org.glassfish.rmic.asm Modifier and Type Class Description (package private) classAsmClassThis represents a class for RMIC to process.Methods in org.glassfish.rmic.asm that return ClassDefinition Modifier and Type Method Description (package private) ClassDefinitionAsmClassFactory.ClassDefinitionVisitor. getDefinition()ClassDefinitionAsmClassFactory. loadDefinition(java.io.InputStream is, Environment env)Constructors in org.glassfish.rmic.asm with parameters of type ClassDefinition 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 ClassDefinition in org.glassfish.rmic.iiop
Fields in org.glassfish.rmic.iiop declared as ClassDefinition Modifier and Type Field Description protected ClassDefinitionCompoundType. classDef(package private) ClassDefinitionBatchEnvironment. defCorbaObject(package private) ClassDefinitionBatchEnvironment. defError(package private) ClassDefinitionBatchEnvironment. defException(package private) ClassDefinitionBatchEnvironment. defExternalizable(package private) ClassDefinitionBatchEnvironment. defIDLEntity(package private) ClassDefinitionBatchEnvironment. defRemote(package private) ClassDefinitionBatchEnvironment. defRemoteException(package private) ClassDefinitionBatchEnvironment. defRuntimeException(package private) ClassDefinitionBatchEnvironment. defSerializable(package private) ClassDefinitionBatchEnvironment. defThrowable(package private) ClassDefinitionBatchEnvironment. defValueBaseMethods in org.glassfish.rmic.iiop that return ClassDefinition Modifier and Type Method Description ClassDefinitionCompoundType. getClassDefinition()Return the ClassDefinition for this type.Methods in org.glassfish.rmic.iiop with parameters of type ClassDefinition Modifier and Type Method Description protected java.util.Vector<CompoundType.Method>CompoundType. addAllMethods(ClassDefinition current, java.util.Vector<CompoundType.Method> directMethods, boolean noMultiInheritedMethods, boolean quiet, ContextStack stack)private booleanImplementationType. checkMethods(ClassDefinition theClass, java.util.Vector list, ContextStack stack, boolean quiet)private static booleanAbstractType. couldBeAbstract(ContextStack stack, ClassDefinition classDef, boolean quiet)private static booleanImplementationType. couldBeImplementation(boolean quiet, ContextStack stack, ClassDefinition classDef)private static booleanRemoteType. couldBeRemote(boolean quiet, ContextStack stack, ClassDefinition classDef)private static booleanValueType. couldBeValue(ContextStack stack, ClassDefinition classDef)Initialize this instance.static AbstractTypeAbstractType. forAbstract(ClassDefinition classDef, ContextStack stack, boolean quiet)Create an AbstractType for the given class.(package private) static CompoundTypeCompoundType. forCompound(ClassDefinition classDef, ContextStack stack)Create a CompoundType object for the given class.static ImplementationTypeImplementationType. forImplementation(ClassDefinition classDef, ContextStack stack, boolean quiet)Create an ImplementationType for the given class.static NCClassTypeNCClassType. forNCClass(ClassDefinition classDef, ContextStack stack)Create an NCClassType for the given class.static NCInterfaceTypeNCInterfaceType. forNCInterface(ClassDefinition classDef, ContextStack stack)Create an NCInterfaceType for the given class.static RemoteTypeRemoteType. forRemote(ClassDefinition classDef, ContextStack stack, boolean quiet)Create an RemoteType for the given class.static SpecialClassTypeSpecialClassType. forSpecial(ClassDefinition theClass, ContextStack stack)Create a SpecialClassType object for the given class.static SpecialInterfaceTypeSpecialInterfaceType. forSpecial(ClassDefinition theClass, ContextStack stack)Create a SpecialInterfaceType object for the given class.static ValueTypeValueType. forValue(ClassDefinition classDef, ContextStack stack, boolean quiet)Create an ValueType object for the given class.voidGenerator. generate(BatchEnvironment env, java.io.File destDir, ClassDefinition cdef)Generate output.voidPrintGenerator. generate(BatchEnvironment env, java.io.File destDir, ClassDefinition cdef)Generate output.voidStubGenerator. generate(BatchEnvironment env, java.io.File destDir, ClassDefinition cdef)Overridden in order to set the standardPackage flag.protected abstract CompoundTypeGenerator. getTopType(ClassDefinition cdef, ContextStack stack)Create and return a top-level type.protected CompoundTypeIDLGenerator. getTopType(ClassDefinition cdef, ContextStack stack)Create and return a top-level type.protected CompoundTypeStubGenerator. getTopType(ClassDefinition cdef, ContextStack stack)Create and return a top-level type.private static intSpecialClassType. getTypeCode(Type type, ClassDefinition theClass, ContextStack stack)protected booleanCompoundType. inheritsFrom(ContextStack stack, ClassDefinition def, ClassDefinition otherDef)private static booleanSpecialInterfaceType. isSpecial(Type type, ClassDefinition theClass, ContextStack stack)protected static TypeCompoundType. makeType(Type theType, ClassDefinition classDef, ContextStack stack)protected java.util.Vector<CompoundType.Method>CompoundType. updateParentClassMethods(ClassDefinition current, java.util.Vector<CompoundType.Method> currentMethods, boolean quiet, ContextStack stack)Constructors in org.glassfish.rmic.iiop with parameters of type ClassDefinition Constructor Description AbstractType(ContextStack stack, ClassDefinition classDef)Create a AbstractType instance for the given class.ClassType(int typeCode, ClassDefinition classDef, ContextStack stack)Create a ClassType instance for the given class.ClassType(ContextStack stack, int typeCode, ClassDefinition classDef)Create a ClassType instance for the given class.ClassType(ContextStack stack, ClassDefinition classDef, int typeCode)Create an ClassType instance for the given class.CompoundType(ContextStack stack, int typeCode, ClassDefinition classDef)Create a CompoundType instance for the given class.CompoundType(ContextStack stack, ClassDefinition classDef, int typeCode)Create a CompoundType instance for the given class.ImplementationType(ContextStack stack, ClassDefinition classDef)Create a ImplementationType instance for the given class.InterfaceType(ContextStack stack, int typeCode, ClassDefinition classDef)Create a InterfaceType instance for the given class.InterfaceType(ContextStack stack, ClassDefinition classDef, int typeCode)Create a InterfaceType instance for the given class.NCClassType(ContextStack stack, ClassDefinition classDef)Create a NCClassType instance for the given class.NCInterfaceType(ContextStack stack, ClassDefinition classDef)Create a NCInterfaceType instance for the given class.RemoteType(ContextStack stack, ClassDefinition classDef)Create a RemoteType instance for the given class.RemoteType(ContextStack stack, ClassDefinition classDef, int typeCode)Create a RemoteType instance for the given class.SpecialClassType(ContextStack stack, int typeCode, ClassDefinition theClass)Create an SpecialClassType instance for the given class.SpecialInterfaceType(ContextStack stack, int typeCode, ClassDefinition theClass)Create an SpecialInterfaceType instance for the given class.ValueType(ClassDefinition classDef, ContextStack stack, boolean isMappedJavaLangClass)Create a ValueType instance for the given class. -
Uses of ClassDefinition in org.glassfish.rmic.tools.asm
Methods in org.glassfish.rmic.tools.asm with parameters of type ClassDefinition Modifier and Type Method Description voidAssembler. addNativeToJcovTab(Environment env, ClassDefinition c)private java.lang.StringAssembler. createClassJcovElement(Environment env, ClassDefinition c)voidAssembler. GenVecJCov(Environment env, ClassDefinition c, long Time)voidAssembler. writeCoverageTable(Environment env, ClassDefinition c, java.io.DataOutputStream out, ConstantPool tab, long whereField)Write the coverage table -
Uses of ClassDefinition in org.glassfish.rmic.tools.binaryclass
Subclasses of ClassDefinition in org.glassfish.rmic.tools.binaryclass Modifier and Type Class Description classBinaryClassWARNING: The contents of this source file are not part of any supported API.Methods in org.glassfish.rmic.tools.binaryclass that return ClassDefinition Modifier and Type Method Description ClassDefinitionBinaryClassFactory. loadDefinition(java.io.InputStream is, Environment env)Methods in org.glassfish.rmic.tools.binaryclass with parameters of type ClassDefinition Modifier and Type Method Description private voidBinaryClass. initInner(ClassDefinition outerClass, int mods)private voidBinaryClass. initOuter(ClassDefinition innerClass, int mods)Constructors in org.glassfish.rmic.tools.binaryclass with parameters of type ClassDefinition Constructor Description BinaryMember(ClassDefinition innerClass)Constructor for an inner class.BinaryMember(ClassDefinition clazz, int modifiers, Type type, Identifier name, BinaryAttribute atts)Constructor -
Uses of ClassDefinition in org.glassfish.rmic.tools.java
Fields in org.glassfish.rmic.tools.java declared as ClassDefinition Modifier and Type Field Description protected ClassDefinitionMemberDefinition. clazzprivate ClassDefinitionParser. curClass(package private) ClassDefinitionClassDeclaration. definitionprotected ClassDefinitionMemberDefinition. innerClassprotected ClassDefinitionClassDefinition. outerClassFields in org.glassfish.rmic.tools.java with type parameters of type ClassDefinition Modifier and Type Field Description private java.util.Hashtable<java.lang.String,ClassDefinition>ClassDefinition. localClassesMethods in org.glassfish.rmic.tools.java that return ClassDefinition Modifier and Type Method Description ClassDefinitionParser. beginClass(long off, java.lang.String doc, int mod, IdentifierToken nm, IdentifierToken sup, IdentifierToken[] impl)Deprecated.ClassDefinitionParserActions. beginClass(long off, java.lang.String doc, int mod, IdentifierToken nm, IdentifierToken sup, IdentifierToken[] impl)Define classClassDefinitionClassDeclaration. getClassDefinition()Get the definition of this class.ClassDefinitionClassDeclaration. getClassDefinition(Environment env)Get the definition of this class, if the class is not yet defined, load the definition.ClassDefinitionEnvironment. getClassDefinition(Identifier nm)Return a class definition given a fully qualified class name.ClassDefinitionEnvironment. getClassDefinition(Type t)Return a class definition given a type.ClassDefinitionMemberDefinition. getClassDefinition()Get the class definitionClassDefinitionClassDeclaration. getClassDefinitionNoCheck(Environment env)Get the definition of this class, if the class is not yet defined, load the definition.protected ClassDefinitionParser. getCurrentClass()Report the current class under construction.ClassDefinitionMemberDefinition. getInnerClass()Get an inner class.ClassDefinitionClassDefinition. getLocalClass(java.lang.String name)Maintain a hash table of local and anonymous classes whose internal names are prefixed by the current class.ClassDefinitionClassDefinition. getOuterClass()Get the class' enclosing class (or null if not inner)ClassDefinitionEnvironment. getQualifiedClassDefinition(long where, Identifier nm, ClassDefinition ctxClass, boolean isExtends)Like 'getClassDefinition(env)', but check access on each component.ClassDefinitionClassDefinition. getTopClass()Get the class' top-level enclosing classClassDefinitionMemberDefinition. getTopClass()Get the field's top-level enclosing classClassDefinitionClassDefinitionFactory. loadDefinition(java.io.InputStream is, Environment env)ClassDefinitionEnvironment. makeClassDefinition(Environment origEnv, long where, IdentifierToken name, java.lang.String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass)Create a new class.protected ClassDefinitionParser. parseClassBody(IdentifierToken nm, int mod, int ctx, java.lang.String doc, java.util.Vector<IdentifierToken> ext, java.util.Vector<IdentifierToken> impl, long p)Parse the body of a class or interface declaration, starting at the left brace.protected ClassDefinitionParser. parseNamedClass(int mod, int ctx, java.lang.String doc)Parse a named class or interface declaration, starting at "class" or "interface".Methods in org.glassfish.rmic.tools.java with parameters of type ClassDefinition Modifier and Type Method Description voidClassDefinition. addLocalClass(ClassDefinition c, java.lang.String name)VsetClassDefinition. checkLocalClass(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes)(package private) booleanClassDefinition. couldImplement(ClassDefinition intDef)Check to see if a class which implements interface `this' could possibly implement the interface `intDef'.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 fieldbooleanClassDefinition. enclosingClassOf(ClassDefinition otherClass)Check if this is an enclosing class of another classvoidParser. endClass(long off, ClassDefinition c)Deprecated.voidParserActions. endClass(long off, ClassDefinition c)End classClassDefinitionEnvironment. getQualifiedClassDefinition(long where, Identifier nm, ClassDefinition ctxClass, boolean isExtends)Like 'getClassDefinition(env)', but check access on each component.MemberDefinitionClassDefinition. getVariable(Environment env, Identifier nm, ClassDefinition source)Get a field from this class.private MemberDefinitionClassDefinition. getVariable0(Environment env, Identifier nm, ClassDefinition source, boolean showPrivate, boolean showPackage)booleanClassDefinition. inSamePackage(ClassDefinition c)ClassDefinitionEnvironment. makeClassDefinition(Environment origEnv, long where, IdentifierToken name, java.lang.String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass)Create a new class.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.static MemberDefinitionMemberDefinition. makeProxyMember(MemberDefinition field, ClassDefinition classDef, Environment env)Create a member which is externally the same as `field' but is defined in class `classDef'.MemberDefinitionClassDefinition. matchMethod(Environment env, ClassDefinition accessor, Identifier methodName)Lookup a method.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.voidClassDefinition. noteUsedBy(ClassDefinition ref, long where, Environment env)Note that this class is being used somehow byref.protected voidParser. recoverField(ClassDefinition newClass)Recover after a syntax error in a field.booleanEnvironment. resolve(long where, ClassDefinition c, Type t)Resolve a type.booleanEnvironment. resolveByName(long where, ClassDefinition c, Identifier nm)Given its fully-qualified name, verify that a class is defined and accessible.private booleanEnvironment. resolveByName(long where, ClassDefinition c, Identifier nm, boolean isExtends)booleanEnvironment. resolveExtendsByName(long where, ClassDefinition c, Identifier nm)TypeEnvironment. resolveNames(ClassDefinition c, Type t, boolean synth)Resolve the names within a type, returning the adjusted type.voidClassDeclaration. setDefinition(ClassDefinition definition, int status)Set the class definitionprotected voidClassDefinition. setOuterClass(ClassDefinition outerClass)Set the class' enclosing class.Constructors in org.glassfish.rmic.tools.java with parameters of type ClassDefinition Constructor Description MemberDefinition(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name, IdentifierToken[] expIds, Node value)ConstructorMemberDefinition(ClassDefinition innerClass)Constructor for an inner class. -
Uses of ClassDefinition in org.glassfish.rmic.tools.javac
Subclasses of ClassDefinition in org.glassfish.rmic.tools.javac Modifier and Type Class Description classSourceClassDeprecated.Methods in org.glassfish.rmic.tools.javac that return ClassDefinition Modifier and Type Method Description ClassDefinitionBatchParser. beginClass(long where, java.lang.String doc, int mod, IdentifierToken t, IdentifierToken sup, IdentifierToken[] interfaces)Deprecated.Define classClassDefinitionBatchParser. getCurrentClass()Deprecated.Report the current class under construction.private ClassDefinitionBatchEnvironment. loadFile(ClassFile file)Load a binary fileClassDefinitionBatchEnvironment. makeClassDefinition(Environment toplevelEnv, long where, IdentifierToken name, java.lang.String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass)Create a new class.Methods in org.glassfish.rmic.tools.javac with parameters of type ClassDefinition 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 methodvoidBatchParser. endClass(long where, ClassDefinition c)Deprecated.End classClassDefinitionBatchEnvironment. makeClassDefinition(Environment toplevelEnv, long where, IdentifierToken name, java.lang.String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass)Create a new class.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.voidSourceClass. noteUsedBy(ClassDefinition ref, long where, Environment env)Deprecated.See if the source file of this class is right.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 ClassDefinition 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.ConstructorSourceMember(ClassDefinition innerClass)Deprecated.Constructor for an inner class.SourceMember(MemberDefinition f, ClassDefinition c, Environment env)Deprecated.Constructor. -
Uses of ClassDefinition in org.glassfish.rmic.tools.tree
Fields in org.glassfish.rmic.tools.tree declared as ClassDefinition Modifier and Type Field Description (package private) ClassDefinitionNewInstanceExpression. body(package private) ClassDefinitionFieldExpression. clazz(package private) ClassDefinitionMethodExpression. clazz(package private) ClassDefinitionUplevelReference. clientThe class in which the reference occurs.private ClassDefinitionFieldExpression. superBaseMethods in org.glassfish.rmic.tools.tree that return ClassDefinition Modifier and Type Method Description private ClassDefinitionFieldExpression. accessBase(Environment env, Context ctx)Determine if an access method is required, and, if so, return the class in which it should appear, else return null.ClassDefinitionContext. findScope(Environment env, ClassDefinition reqc)From which enclosing class do members of this type come?ClassDefinitionUplevelReference. getClient()the client classprivate ClassDefinitionIdentifierExpression. toResolvedType(Environment env, Context ctx, boolean pkgOK)Convert an identifier to a known type, or null.Methods in org.glassfish.rmic.tools.tree with parameters of type ClassDefinition Modifier and Type Method Description ExpressionContext. findOuterLink(Environment env, long where, ClassDefinition reqc, MemberDefinition f, boolean needExactMatch)ClassDefinitionContext. findScope(Environment env, ClassDefinition reqc)From which enclosing class do members of this type come?private static MemberDefinitionFieldExpression. getClassLiteralCache(Environment env, Context ctx, java.lang.String className, ClassDefinition c)intContext. getScopeNumber(ClassDefinition c)Get the scope number for a reference to a member of this class (Larger scope numbers are more deeply nested.)static Expression[]NewInstanceExpression. insertOuterLink(Environment env, Context ctx, long where, ClassDefinition def, Expression outerArg, Expression[] args)Given a list of arguments for a constructor, return a possibly modified list which includes the hidden argument which initializes the uplevel self pointer.(package private) static booleanFieldExpression. isTypeAccessible(long where, Environment env, Type t, ClassDefinition c)Determine if a type is accessible from a given class.private static booleanContext. match(Environment env, ClassDefinition thisc, ClassDefinition reqc)static booleanContext. outerLinkExists(Environment env, ClassDefinition reqc, ClassDefinition thisc)Is there a "this" of type reqc in scope?Constructors in org.glassfish.rmic.tools.tree with parameters of type ClassDefinition Constructor Description Context(Context ctx, ClassDefinition c)Create a new context, for initializing a class.LocalMember(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name)ConstructorLocalMember(ClassDefinition innerClass)Constructor for a block-inner class.NewInstanceExpression(long where, Expression right, Expression[] args, Expression outerArg, ClassDefinition body)UplevelReference(ClassDefinition client, LocalMember target)constructor -
Uses of ClassDefinition in org.glassfish.rmic.tools.util
Methods in org.glassfish.rmic.tools.util with parameters of type ClassDefinition Modifier and Type Method Description booleanModifierFilter. checkClass(ClassDefinition cdef)Filter a ClassDefinition.
-