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 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 ClassDefinition Modifier and Type Method Description ClassDefinition
RemoteClass. 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 boolean
RemoteClass. 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 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, java.io.File destDir, ClassDefinition cdef)
Generate output.void
RMIGenerator. 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) class
AsmClass
This represents a class for RMIC to process.Methods in org.glassfish.rmic.asm that return ClassDefinition Modifier and Type Method Description (package private) ClassDefinition
AsmClassFactory.ClassDefinitionVisitor. getDefinition()
ClassDefinition
AsmClassFactory. 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 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 ClassDefinition Modifier and Type Method Description ClassDefinition
CompoundType. 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 boolean
ImplementationType. checkMethods(ClassDefinition theClass, java.util.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, java.io.File destDir, ClassDefinition cdef)
Generate output.void
PrintGenerator. generate(BatchEnvironment env, java.io.File destDir, ClassDefinition cdef)
Generate output.void
StubGenerator. generate(BatchEnvironment env, java.io.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 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 void
Assembler. addNativeToJcovTab(Environment env, ClassDefinition c)
private java.lang.String
Assembler. createClassJcovElement(Environment env, ClassDefinition c)
void
Assembler. GenVecJCov(Environment env, ClassDefinition c, long Time)
void
Assembler. 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 class
BinaryClass
WARNING: 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 ClassDefinition
BinaryClassFactory. 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 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 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 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 ClassDefinition Modifier and Type Field Description private java.util.Hashtable<java.lang.String,ClassDefinition>
ClassDefinition. localClasses
Methods in org.glassfish.rmic.tools.java that return ClassDefinition Modifier and Type Method Description ClassDefinition
Parser. beginClass(long off, java.lang.String doc, int mod, IdentifierToken nm, IdentifierToken sup, IdentifierToken[] impl)
Deprecated.ClassDefinition
ParserActions. beginClass(long off, java.lang.String doc, int mod, IdentifierToken nm, IdentifierToken sup, IdentifierToken[] impl)
Define classClassDefinition
ClassDeclaration. getClassDefinition()
Get the definition of this class.ClassDefinition
ClassDeclaration. getClassDefinition(Environment env)
Get the definition of this class, if the class is not yet defined, load the definition.ClassDefinition
Environment. getClassDefinition(Identifier nm)
Return a class definition given a fully qualified class name.ClassDefinition
Environment. getClassDefinition(Type t)
Return a class definition given a type.ClassDefinition
MemberDefinition. getClassDefinition()
Get the class definitionClassDefinition
ClassDeclaration. 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.ClassDefinition
MemberDefinition. getInnerClass()
Get an inner class.ClassDefinition
ClassDefinition. getLocalClass(java.lang.String name)
Maintain a hash table of local and anonymous classes whose internal names are prefixed by the current class.ClassDefinition
ClassDefinition. getOuterClass()
Get the class' enclosing class (or null if not inner)ClassDefinition
Environment. getQualifiedClassDefinition(long where, Identifier nm, ClassDefinition ctxClass, boolean isExtends)
Like 'getClassDefinition(env)', but check access on each component.ClassDefinition
ClassDefinition. getTopClass()
Get the class' top-level enclosing classClassDefinition
MemberDefinition. getTopClass()
Get the field's top-level enclosing classClassDefinition
ClassDefinitionFactory. loadDefinition(java.io.InputStream is, Environment env)
ClassDefinition
Environment. makeClassDefinition(Environment origEnv, long where, IdentifierToken name, java.lang.String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass)
Create a new class.protected ClassDefinition
Parser. 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 ClassDefinition
Parser. 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 void
ClassDefinition. addLocalClass(ClassDefinition c, java.lang.String name)
Vset
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, 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 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 classClassDefinition
Environment. getQualifiedClassDefinition(long where, Identifier nm, ClassDefinition ctxClass, boolean isExtends)
Like 'getClassDefinition(env)', but check access on each component.MemberDefinition
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)
boolean
ClassDefinition. inSamePackage(ClassDefinition c)
ClassDefinition
Environment. makeClassDefinition(Environment origEnv, long where, IdentifierToken name, java.lang.String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass)
Create a new class.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.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'.MemberDefinition
ClassDefinition. matchMethod(Environment env, ClassDefinition accessor, Identifier methodName)
Lookup a method.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.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)
Type
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 void
ClassDefinition. 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 class
SourceClass
Deprecated.Methods in org.glassfish.rmic.tools.javac that return ClassDefinition Modifier and Type Method Description ClassDefinition
BatchParser. beginClass(long where, java.lang.String doc, int mod, IdentifierToken t, IdentifierToken sup, IdentifierToken[] interfaces)
Deprecated.Define classClassDefinition
BatchParser. getCurrentClass()
Deprecated.Report the current class under construction.private ClassDefinition
BatchEnvironment. loadFile(ClassFile file)
Load a binary fileClassDefinition
BatchEnvironment. 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 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 methodvoid
BatchParser. endClass(long where, ClassDefinition c)
Deprecated.End classClassDefinition
BatchEnvironment. makeClassDefinition(Environment toplevelEnv, long where, IdentifierToken name, java.lang.String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass)
Create a new class.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.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 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) 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 ClassDefinition Modifier and Type Method Description private 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.ClassDefinition
Context. findScope(Environment env, ClassDefinition reqc)
From which enclosing class do members of this type come?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 ClassDefinition Modifier and Type Method Description Expression
Context. findOuterLink(Environment env, long where, ClassDefinition reqc, MemberDefinition f, boolean needExactMatch)
ClassDefinition
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, java.lang.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 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 boolean
ModifierFilter. checkClass(ClassDefinition cdef)
Filter a ClassDefinition.
-