Uses of Class
org.glassfish.rmic.tools.java.ClassDefinition
Packages that use ClassDefinition
Package
Description
-
Uses of ClassDefinition in org.glassfish.rmic
Fields in org.glassfish.rmic declared as ClassDefinitionModifier and TypeFieldDescriptionprivate ClassDefinition
RemoteClass.defException
private ClassDefinition
RemoteClass.defRemote
cached definition for certain classes used in this environmentprivate ClassDefinition
RemoteClass.defRemoteException
private ClassDefinition
RemoteClass.implClassDef
the remote implementation class this object corresponds toprivate ClassDefinition[]
RemoteClass.remoteInterfaces
remote interfaces implemented by this classMethods in org.glassfish.rmic that return ClassDefinitionModifier and TypeMethodDescriptionRemoteClass.getClassDefinition()
Return the ClassDefinition for this class.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 ClassDefinitionModifier and TypeMethodDescriptionprivate boolean
RemoteClass.collectRemoteMethods
(ClassDefinition interfaceDef, Hashtable<String, RemoteClass.Method> table) Collect and validate all methods from given interface and all of its superinterfaces as remote methods.static RemoteClass
RemoteClass.forClass
(BatchEnvironment env, ClassDefinition implClassDef) Create a RemoteClass object representing the remote meta-information of the given class.void
Generator.generate
(BatchEnvironment env, File destDir, ClassDefinition cdef) Generate output.void
RMIGenerator.generate
(BatchEnvironment env, 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 ClassDefinitionModifierConstructorDescriptionprivate
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.asmModifier and TypeClassDescription(package private) class
This represents a class for RMIC to process.Methods in org.glassfish.rmic.asm that return ClassDefinitionModifier and TypeMethodDescription(package private) ClassDefinition
AsmClassFactory.ClassDefinitionVisitor.getDefinition()
AsmClassFactory.loadDefinition
(InputStream is, Environment env) Constructors in org.glassfish.rmic.asm with parameters of type ClassDefinitionModifierConstructorDescription(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 ClassDefinition in org.glassfish.rmic.iiop
Fields in org.glassfish.rmic.iiop declared as ClassDefinitionModifier and TypeFieldDescriptionprotected ClassDefinition
CompoundType.classDef
(package private) ClassDefinition
BatchEnvironment.defCorbaObject
(package private) ClassDefinition
BatchEnvironment.defError
(package private) ClassDefinition
BatchEnvironment.defException
(package private) ClassDefinition
BatchEnvironment.defExternalizable
(package private) ClassDefinition
BatchEnvironment.defIDLEntity
(package private) ClassDefinition
BatchEnvironment.defRemote
(package private) ClassDefinition
BatchEnvironment.defRemoteException
(package private) ClassDefinition
BatchEnvironment.defRuntimeException
(package private) ClassDefinition
BatchEnvironment.defSerializable
(package private) ClassDefinition
BatchEnvironment.defThrowable
(package private) ClassDefinition
BatchEnvironment.defValueBase
Methods in org.glassfish.rmic.iiop that return ClassDefinitionModifier and TypeMethodDescriptionCompoundType.getClassDefinition()
Return the ClassDefinition for this type.Methods in org.glassfish.rmic.iiop with parameters of type ClassDefinitionModifier and TypeMethodDescriptionprotected Vector
<CompoundType.Method> CompoundType.addAllMethods
(ClassDefinition current, Vector<CompoundType.Method> directMethods, boolean noMultiInheritedMethods, boolean quiet, ContextStack stack) private boolean
ImplementationType.checkMethods
(ClassDefinition theClass, Vector list, ContextStack stack, boolean quiet) private static boolean
AbstractType.couldBeAbstract
(ContextStack stack, ClassDefinition classDef, boolean quiet) private static boolean
ImplementationType.couldBeImplementation
(boolean quiet, ContextStack stack, ClassDefinition classDef) private static boolean
RemoteType.couldBeRemote
(boolean quiet, ContextStack stack, ClassDefinition classDef) private static boolean
ValueType.couldBeValue
(ContextStack stack, ClassDefinition classDef) Initialize this instance.static AbstractType
AbstractType.forAbstract
(ClassDefinition classDef, ContextStack stack, boolean quiet) Create an AbstractType for the given class.(package private) static CompoundType
CompoundType.forCompound
(ClassDefinition classDef, ContextStack stack) Create a CompoundType object for the given class.static ImplementationType
ImplementationType.forImplementation
(ClassDefinition classDef, ContextStack stack, boolean quiet) Create an ImplementationType for the given class.static NCClassType
NCClassType.forNCClass
(ClassDefinition classDef, ContextStack stack) Create an NCClassType for the given class.static NCInterfaceType
NCInterfaceType.forNCInterface
(ClassDefinition classDef, ContextStack stack) Create an NCInterfaceType for the given class.static RemoteType
RemoteType.forRemote
(ClassDefinition classDef, ContextStack stack, boolean quiet) Create an RemoteType for the given class.static SpecialClassType
SpecialClassType.forSpecial
(ClassDefinition theClass, ContextStack stack) Create a SpecialClassType object for the given class.static SpecialInterfaceType
SpecialInterfaceType.forSpecial
(ClassDefinition theClass, ContextStack stack) Create a SpecialInterfaceType object for the given class.static ValueType
ValueType.forValue
(ClassDefinition classDef, ContextStack stack, boolean quiet) Create an ValueType object for the given class.void
Generator.generate
(BatchEnvironment env, File destDir, ClassDefinition cdef) Generate output.void
PrintGenerator.generate
(BatchEnvironment env, File destDir, ClassDefinition cdef) Generate output.void
StubGenerator.generate
(BatchEnvironment env, File destDir, ClassDefinition cdef) Overridden in order to set the standardPackage flag.protected abstract CompoundType
Generator.getTopType
(ClassDefinition cdef, ContextStack stack) Create and return a top-level type.protected CompoundType
IDLGenerator.getTopType
(ClassDefinition cdef, ContextStack stack) Create and return a top-level type.protected CompoundType
StubGenerator.getTopType
(ClassDefinition cdef, ContextStack stack) Create and return a top-level type.private static int
SpecialClassType.getTypeCode
(Type type, ClassDefinition theClass, ContextStack stack) protected boolean
CompoundType.inheritsFrom
(ContextStack stack, ClassDefinition def, ClassDefinition otherDef) private static boolean
SpecialInterfaceType.isSpecial
(Type type, ClassDefinition theClass, ContextStack stack) protected static Type
CompoundType.makeType
(Type theType, ClassDefinition classDef, ContextStack stack) protected Vector
<CompoundType.Method> CompoundType.updateParentClassMethods
(ClassDefinition current, Vector<CompoundType.Method> currentMethods, boolean quiet, ContextStack stack) Constructors in org.glassfish.rmic.iiop with parameters of type ClassDefinitionModifierConstructorDescriptionprivate
AbstractType
(ContextStack stack, ClassDefinition classDef) Create a AbstractType instance for the given class.protected
ClassType
(int typeCode, ClassDefinition classDef, ContextStack stack) Create a ClassType instance for the given class.protected
ClassType
(ContextStack stack, int typeCode, ClassDefinition classDef) Create a ClassType instance for the given class.protected
ClassType
(ContextStack stack, ClassDefinition classDef, int typeCode) Create an ClassType instance for the given class.protected
CompoundType
(ContextStack stack, int typeCode, ClassDefinition classDef) Create a CompoundType instance for the given class.protected
CompoundType
(ContextStack stack, ClassDefinition classDef, int typeCode) Create a CompoundType instance for the given class.private
ImplementationType
(ContextStack stack, ClassDefinition classDef) Create a ImplementationType instance for the given class.protected
InterfaceType
(ContextStack stack, int typeCode, ClassDefinition classDef) Create a InterfaceType instance for the given class.protected
InterfaceType
(ContextStack stack, ClassDefinition classDef, int typeCode) Create a InterfaceType instance for the given class.private
NCClassType
(ContextStack stack, ClassDefinition classDef) Create a NCClassType instance for the given class.private
NCInterfaceType
(ContextStack stack, ClassDefinition classDef) Create a NCInterfaceType instance for the given class.protected
RemoteType
(ContextStack stack, ClassDefinition classDef) Create a RemoteType instance for the given class.protected
RemoteType
(ContextStack stack, ClassDefinition classDef, int typeCode) Create a RemoteType instance for the given class.private
SpecialClassType
(ContextStack stack, int typeCode, ClassDefinition theClass) Create an SpecialClassType instance for the given class.private
SpecialInterfaceType
(ContextStack stack, int typeCode, ClassDefinition theClass) Create an SpecialInterfaceType instance for the given class.private
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 ClassDefinitionModifier and TypeMethodDescriptionvoid
Assembler.addNativeToJcovTab
(Environment env, ClassDefinition c) private String
Assembler.createClassJcovElement
(Environment env, ClassDefinition c) void
Assembler.GenVecJCov
(Environment env, ClassDefinition c, long Time) void
Assembler.writeCoverageTable
(Environment env, ClassDefinition c, 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.binaryclassModifier and TypeClassDescriptionfinal class
WARNING: The contents of this source file are not part of any supported API.Methods in org.glassfish.rmic.tools.binaryclass that return ClassDefinitionModifier and TypeMethodDescriptionBinaryClassFactory.loadDefinition
(InputStream is, Environment env) Methods in org.glassfish.rmic.tools.binaryclass with parameters of type ClassDefinitionModifier and TypeMethodDescriptionprivate void
BinaryClass.initInner
(ClassDefinition outerClass, int mods) private void
BinaryClass.initOuter
(ClassDefinition innerClass, int mods) Constructors in org.glassfish.rmic.tools.binaryclass with parameters of type ClassDefinitionModifierConstructorDescriptionBinaryMember
(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 ClassDefinitionModifier and TypeFieldDescriptionprotected ClassDefinition
MemberDefinition.clazz
private ClassDefinition
Parser.curClass
(package private) ClassDefinition
ClassDeclaration.definition
protected ClassDefinition
MemberDefinition.innerClass
protected ClassDefinition
ClassDefinition.outerClass
Fields in org.glassfish.rmic.tools.java with type parameters of type ClassDefinitionModifier and TypeFieldDescriptionprivate Hashtable
<String, ClassDefinition> ClassDefinition.localClasses
Methods in org.glassfish.rmic.tools.java that return ClassDefinitionModifier and TypeMethodDescriptionParser.beginClass
(long off, String doc, int mod, IdentifierToken nm, IdentifierToken sup, IdentifierToken[] impl) Deprecated.ParserActions.beginClass
(long off, String doc, int mod, IdentifierToken nm, IdentifierToken sup, IdentifierToken[] impl) Define classClassDeclaration.getClassDefinition()
Get the definition of this class.ClassDeclaration.getClassDefinition
(Environment env) Get the definition of this class, if the class is not yet defined, load the definition.final ClassDefinition
Environment.getClassDefinition
(Identifier nm) Return a class definition given a fully qualified class name.final ClassDefinition
Environment.getClassDefinition
(Type t) Return a class definition given a type.final ClassDefinition
MemberDefinition.getClassDefinition()
Get the class definitionClassDeclaration.getClassDefinitionNoCheck
(Environment env) Get the definition of this class, if the class is not yet defined, load the definition.protected ClassDefinition
Parser.getCurrentClass()
Report the current class under construction.MemberDefinition.getInnerClass()
Get an inner class.ClassDefinition.getLocalClass
(String name) Maintain a hash table of local and anonymous classes whose internal names are prefixed by the current class.final ClassDefinition
ClassDefinition.getOuterClass()
Get the class' enclosing class (or null if not inner)final ClassDefinition
Environment.getQualifiedClassDefinition
(long where, Identifier nm, ClassDefinition ctxClass, boolean isExtends) Like 'getClassDefinition(env)', but check access on each component.final ClassDefinition
ClassDefinition.getTopClass()
Get the class' top-level enclosing classfinal ClassDefinition
MemberDefinition.getTopClass()
Get the field's top-level enclosing classClassDefinitionFactory.loadDefinition
(InputStream is, Environment env) Environment.makeClassDefinition
(Environment origEnv, long where, IdentifierToken name, String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass) Create a new class.protected ClassDefinition
Parser.parseClassBody
(IdentifierToken nm, int mod, int ctx, String doc, Vector<IdentifierToken> ext, Vector<IdentifierToken> impl, long p) Parse the body of a class or interface declaration, starting at the left brace.protected ClassDefinition
Parser.parseNamedClass
(int mod, int ctx, 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 ClassDefinitionModifier and TypeMethodDescriptionvoid
ClassDefinition.addLocalClass
(ClassDefinition c, String name) ClassDefinition.checkLocalClass
(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes) (package private) boolean
ClassDefinition.couldImplement
(ClassDefinition intDef) Check to see if a class which implements interface `this' could possibly implement the interface `intDef'.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 fieldboolean
ClassDefinition.enclosingClassOf
(ClassDefinition otherClass) Check if this is an enclosing class of another classvoid
Parser.endClass
(long off, ClassDefinition c) Deprecated.void
ParserActions.endClass
(long off, ClassDefinition c) End classfinal ClassDefinition
Environment.getQualifiedClassDefinition
(long where, Identifier nm, ClassDefinition ctxClass, boolean isExtends) Like 'getClassDefinition(env)', but check access on each component.ClassDefinition.getVariable
(Environment env, Identifier nm, ClassDefinition source) Get a field from this class.private MemberDefinition
ClassDefinition.getVariable0
(Environment env, Identifier nm, ClassDefinition source, boolean showPrivate, boolean showPackage) final boolean
ClassDefinition.inSamePackage
(ClassDefinition c) Environment.makeClassDefinition
(Environment origEnv, long where, IdentifierToken name, String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass) Create a new class.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.static MemberDefinition
MemberDefinition.makeProxyMember
(MemberDefinition field, ClassDefinition classDef, Environment env) Create a member which is externally the same as `field' but is defined in class `classDef'.ClassDefinition.matchMethod
(Environment env, ClassDefinition accessor, Identifier methodName) Lookup a method.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.void
ClassDefinition.noteUsedBy
(ClassDefinition ref, long where, Environment env) Note that this class is being used somehow byref
.protected void
Parser.recoverField
(ClassDefinition newClass) Recover after a syntax error in a field.boolean
Environment.resolve
(long where, ClassDefinition c, Type t) Resolve a type.boolean
Environment.resolveByName
(long where, ClassDefinition c, Identifier nm) Given its fully-qualified name, verify that a class is defined and accessible.private boolean
Environment.resolveByName
(long where, ClassDefinition c, Identifier nm, boolean isExtends) boolean
Environment.resolveExtendsByName
(long where, ClassDefinition c, Identifier nm) Environment.resolveNames
(ClassDefinition c, Type t, boolean synth) Resolve the names within a type, returning the adjusted type.void
ClassDeclaration.setDefinition
(ClassDefinition definition, int status) Set the class definitionprotected final void
ClassDefinition.setOuterClass
(ClassDefinition outerClass) Set the class' enclosing class.Constructors in org.glassfish.rmic.tools.java with parameters of type ClassDefinitionModifierConstructorDescriptionMemberDefinition
(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.javacMethods in org.glassfish.rmic.tools.javac that return ClassDefinitionModifier and TypeMethodDescriptionBatchParser.beginClass
(long where, String doc, int mod, IdentifierToken t, IdentifierToken sup, IdentifierToken[] interfaces) Deprecated.Define classBatchParser.getCurrentClass()
Deprecated.Report the current class under construction.private ClassDefinition
Load a binary fileBatchEnvironment.makeClassDefinition
(Environment toplevelEnv, long where, IdentifierToken name, 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 ClassDefinitionModifier 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 methodvoid
BatchParser.endClass
(long where, ClassDefinition c) Deprecated.End classBatchEnvironment.makeClassDefinition
(Environment toplevelEnv, long where, IdentifierToken name, String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass) Create a new class.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.void
SourceClass.noteUsedBy
(ClassDefinition ref, long where, Environment env) Deprecated.See if the source file of this class is right.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 ClassDefinitionModifierConstructorDescriptionSourceMember
(long where, ClassDefinition clazz, String doc, int modifiers, Type type, Identifier name, 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 ClassDefinitionModifier and TypeFieldDescription(package private) ClassDefinition
NewInstanceExpression.body
(package private) ClassDefinition
FieldExpression.clazz
(package private) ClassDefinition
MethodExpression.clazz
(package private) ClassDefinition
UplevelReference.client
The class in which the reference occurs.private ClassDefinition
FieldExpression.superBase
Methods in org.glassfish.rmic.tools.tree that return ClassDefinitionModifier and TypeMethodDescriptionprivate ClassDefinition
FieldExpression.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.Context.findScope
(Environment env, ClassDefinition reqc) From which enclosing class do members of this type come?final ClassDefinition
UplevelReference.getClient()
the client classprivate ClassDefinition
IdentifierExpression.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 ClassDefinitionModifier and TypeMethodDescriptionContext.findOuterLink
(Environment env, long where, ClassDefinition reqc, MemberDefinition f, boolean needExactMatch) Context.findScope
(Environment env, ClassDefinition reqc) From which enclosing class do members of this type come?private static MemberDefinition
FieldExpression.getClassLiteralCache
(Environment env, Context ctx, String className, ClassDefinition c) int
Context.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 boolean
FieldExpression.isTypeAccessible
(long where, Environment env, Type t, ClassDefinition c) Determine if a type is accessible from a given class.private static boolean
Context.match
(Environment env, ClassDefinition thisc, ClassDefinition reqc) static boolean
Context.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 ClassDefinitionModifierConstructorDescriptionContext
(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 ClassDefinitionModifier and TypeMethodDescriptionboolean
ModifierFilter.checkClass
(ClassDefinition cdef) Filter a ClassDefinition.