| Package | Description |
|---|---|
| org.glassfish.rmic | |
| org.glassfish.rmic.iiop | |
| org.glassfish.rmic.tools.binaryclass | |
| org.glassfish.rmic.tools.java | |
| org.glassfish.rmic.tools.javac | |
| org.glassfish.rmic.tools.tree |
| Modifier and Type | Field and Description |
|---|---|
static Identifier |
RMIConstants.idMarshalException |
static Identifier |
RMIConstants.idOperation |
static Identifier |
Constants.idRemote |
static Identifier |
RMIConstants.idRemoteCall |
static Identifier |
Constants.idRemoteException |
static Identifier |
RMIConstants.idRemoteObject |
static Identifier |
RMIConstants.idRemoteRef |
static Identifier |
RMIConstants.idRemoteStub |
static Identifier |
RMIConstants.idSkeleton |
static Identifier |
RMIConstants.idSkeletonMismatchException |
static Identifier |
RMIConstants.idUnexpectedException |
static Identifier |
RMIConstants.idUnmarshalException |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
RemoteClass.getName()
Return the name of the class represented by this object.
|
Identifier |
RemoteClass.Method.getName()
Return the name of this method.
|
static Identifier |
Names.mangleClass(Identifier className)
If necessary, convert a class name to its mangled form, i.e.
|
static Identifier |
Names.skeletonFor(Identifier name)
Return skeleton class name for impl class name.
|
static Identifier |
Names.stubFor(Identifier name)
Return stub class name for impl class name.
|
| Modifier and Type | Method and Description |
|---|---|
static Identifier |
Names.mangleClass(Identifier className)
If necessary, convert a class name to its mangled form, i.e.
|
static Identifier |
Names.skeletonFor(Identifier name)
Return skeleton class name for impl class name.
|
static Identifier |
Names.stubFor(Identifier name)
Return stub class name for impl class name.
|
| Modifier and Type | Method and Description |
|---|---|
Identifier |
CompoundType.Method.getDeclaredBy()
Return the identifier for the class or interface which
declares this method.
|
Identifier |
Type.getIdentifier()
Return the identifier for this type.
|
protected Identifier |
IDLGenerator.getOutputId(Generator.OutputType ot)
Return an Identifier which contains the fully-qualified IDL filename
for the given OutputType.
|
protected Identifier |
Generator.getOutputId(Generator.OutputType outputType)
Return an identifier to use for output.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
IDLNames.getClassOrInterfaceName(Identifier id,
BatchEnvironment env)
Convert a type name.
|
static String[] |
IDLNames.getModuleNames(Identifier theID,
boolean boxIt,
BatchEnvironment env)
Convert a qualified Identifier into an array of IDL names.
|
protected File |
StubGenerator.getOutputDirectory(File destinationDir,
Identifier id,
BatchEnvironment environment) |
protected File |
IDLGenerator.getOutputDirectory(File destinationDir,
Identifier id,
BatchEnvironment environment) |
protected abstract File |
Generator.getOutputDirectory(File destinationDir,
Identifier id,
BatchEnvironment environment) |
static File |
Util.getOutputDirectoryForIDL(Identifier theClass,
File rootDir,
BatchEnvironment env) |
static File |
Util.getOutputDirectoryForStub(Identifier theClass,
File rootDir,
BatchEnvironment env) |
void |
CompoundType.Method.setDeclaredBy(Identifier by)
Set the declaredBy Identifier.
|
protected void |
Type.setNames(Identifier id,
String[] idlModuleNames,
String idlName)
Set name and package.
|
void |
StubGenerator.write_tie_thisObject_method(IndentingWriter p,
Identifier idCorbaObject) |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
BinaryConstantPool.getIdentifier(int n)
get an identifier
|
Identifier |
BinaryAttribute.getName()
Accessors
|
| Modifier and Type | Method and Description |
|---|---|
void |
BinaryMember.addAttribute(Identifier name,
byte[] data,
Environment env) |
boolean |
BinaryMember.deleteAttribute(Identifier name) |
byte[] |
BinaryMember.getAttribute(Identifier name)
Get a field attribute
|
byte[] |
BinaryClass.getAttribute(Identifier name)
Get a class attribute
|
| Constructor and Description |
|---|
BinaryMember(ClassDefinition clazz,
int modifiers,
Type type,
Identifier name,
BinaryAttribute atts)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Identifier |
Identifier.addAmbigPrefix()
Add ambigPrefix to `this' to make a new Identifier marked as
ambiguous.
|
Identifier |
Imports.forceResolve(Environment env,
Identifier nm)
Suppose a resolve() call has failed.
|
Identifier |
Type.getClassName()
Return the ClassName.
|
Identifier |
ClassType.getClassName() |
Identifier |
Imports.getCurrentPackage()
Report the current package
|
Identifier |
Identifier.getFlatName()
Return the class name, without its qualifier,
and with any nesting flattened into a new qualfication structure.
|
Identifier |
Identifier.getHead()
Yet another way to slice qualified identifiers:
The head of an identifier is its first qualifier component,
and the tail is the rest of them.
|
Identifier |
ClassDefinition.getLocalName()
Return a simple identifier for this class (idNull if anonymous).
|
Identifier |
MemberDefinition.getName()
Get the field's name
|
Identifier |
IdentifierToken.getName()
The identifier itself (possibly qualified).
|
Identifier |
Identifier.getName()
Return the unqualified name.
|
Identifier |
ClassDefinition.getName()
Get the class' name
|
Identifier |
ClassDeclaration.getName()
Get the name of the class
|
Identifier |
Identifier.getQualifier()
Return the qualifier.
|
Identifier |
Identifier.getTail() |
Identifier |
Identifier.getTopName() |
static Identifier |
Identifier.lookup(Identifier q,
Identifier n)
Lookup a qualified identifier.
|
static Identifier |
Identifier.lookup(String s)
Lookup an identifier.
|
static Identifier |
Identifier.lookupInner(Identifier c,
Identifier n)
Lookup an inner identifier.
|
static Identifier |
Type.mangleInnerType(Identifier className)
Given an inner identifier, return the non-inner, mangled
representation used to manage signatures.
|
protected Identifier |
Parser.parseIdentifier(boolean star)
Deprecated.
|
Identifier |
Identifier.removeAmbigPrefix()
Remove the ambigPrefix from `this' to get the original identifier.
|
Identifier |
Imports.resolve(Environment env,
Identifier nm)
Lookup a class, given the current set of imports,
AmbiguousClass exception is thrown if the name can be
resolved in more than one way.
|
Identifier |
Environment.resolve(Identifier nm)
Resolve a class name, using only package and import directives.
|
Identifier |
ClassDefinition.resolveInnerClass(Environment env,
Identifier nm)
Interpret a qualified class name, which may have further subcomponents..
|
Identifier |
ClassDefinition.resolveName(Environment env,
Identifier name)
Look up an inner class name, from somewhere inside this class.
|
Identifier |
Environment.resolveName(Identifier name)
Resolve a class name, using only package and import directives.
|
Identifier |
Environment.resolvePackageQualifiedName(Identifier name)
Discover if name consists of a package prefix, followed by the
name of a class (that actually exists), followed possibly by
some inner class names.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Imports.addClass(Identifier nm) |
void |
Imports.addPackage(Identifier id) |
protected void |
Parser.beginClass(long off,
String doc,
int mod,
Identifier nm,
Identifier sup,
Identifier[] impl)
Deprecated.
Use the version with the IdentifierToken arguments.
|
protected void |
Parser.beginClass(long off,
String doc,
int mod,
Identifier nm,
Identifier sup,
Identifier[] impl)
Deprecated.
Use the version with the IdentifierToken arguments.
|
boolean |
Package.classExists(Identifier className)
Check if a class is defined in this package.
|
boolean |
Environment.classExists(Identifier nm)
Check if a class exists (without actually loading it).
|
protected void |
Parser.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.
|
protected void |
Parser.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.
|
protected void |
Parser.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.
|
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.
|
protected void |
Parser.endClass(long off,
Identifier nm)
Deprecated.
Use the version with the IdentifierToken arguments.
|
MemberDefinition |
ClassDefinition.findAnyMethod(Environment env,
Identifier nm)
Find any method with a given name.
|
MemberDefinition |
ClassDefinition.findMethod(Environment env,
Identifier nm,
Type t)
Find a method, ie: exact match in this class or any of the super
classes.
|
Identifier |
Imports.forceResolve(Environment env,
Identifier nm)
Suppose a resolve() call has failed.
|
ClassFile |
Package.getBinaryFile(Identifier className)
Get the .class file of a class
|
ClassDeclaration |
Environment.getClassDeclaration(Identifier nm)
Return a class declaration given a fully qualified class name.
|
ClassDefinition |
Environment.getClassDefinition(Identifier nm)
Return a class definition given a fully qualified class name.
|
MemberDefinition |
ClassDefinition.getFirstMatch(Identifier name) |
MemberDefinition |
ClassDefinition.getInnerClass(Environment env,
Identifier nm)
Get an inner class.
|
Package |
Environment.getPackage(Identifier pkg)
Get the package path for a package
|
ClassDefinition |
Environment.getQualifiedClassDefinition(long where,
Identifier nm,
ClassDefinition ctxClass,
boolean isExtends)
Like 'getClassDefinition(env)', but check access on each component.
|
ClassFile |
Package.getSourceFile(Identifier className)
Get the .java file of a class
|
MemberDefinition |
ClassDefinition.getVariable(Environment env,
Identifier nm,
ClassDefinition source)
Get a field from this class.
|
static boolean |
Imports.importable(Identifier id,
Environment env)
Check to see if 'id' names an importable class in `env'.
|
protected void |
Parser.importClass(long off,
Identifier nm)
Deprecated.
Use the version with the IdentifierToken arguments.
|
protected void |
Parser.importPackage(long off,
Identifier nm)
Deprecated.
Use the version with the IdentifierToken arguments.
|
boolean |
Environment.isExemptPackage(Identifier id)
Tells whether an Identifier refers to a package which should be
exempt from the "exists" check in Imports#resolve().
|
static Identifier |
Identifier.lookup(Identifier q,
Identifier n)
Lookup a qualified identifier.
|
static Identifier |
Identifier.lookupInner(Identifier c,
Identifier n)
Lookup an inner identifier.
|
Iterator<MemberDefinition> |
MethodSet.lookupName(Identifier name)
Returns an Iterator of all methods contained in the
MethodSet which have a given name.
|
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,
String doc,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] argNames,
IdentifierToken[] expIds,
Object value)
Create a new field.
|
static Identifier |
Type.mangleInnerType(Identifier className)
Given an inner identifier, return the non-inner, mangled
representation used to manage signatures.
|
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)
Lookup a method.
|
MemberDefinition |
ClassDefinition.matchMethod(Environment env,
ClassDefinition accessor,
Identifier methodName,
Type[] argumentTypes)
Lookup a method.
|
protected void |
Parser.packageDeclaration(long off,
Identifier nm)
Deprecated.
|
protected Expression |
Parser.parseMethodExpression(Expression e,
Identifier id)
Parse a method invocation.
|
Identifier |
Imports.resolve(Environment env,
Identifier nm)
Lookup a class, given the current set of imports,
AmbiguousClass exception is thrown if the name can be
resolved in more than one way.
|
Identifier |
Environment.resolve(Identifier nm)
Resolve a class name, using only package and import directives.
|
boolean |
Environment.resolveByName(long where,
ClassDefinition c,
Identifier nm)
Given its fully-qualified name, verify that a class is defined and accessible.
|
boolean |
Environment.resolveExtendsByName(long where,
ClassDefinition c,
Identifier nm) |
Identifier |
ClassDefinition.resolveInnerClass(Environment env,
Identifier nm)
Interpret a qualified class name, which may have further subcomponents..
|
Identifier |
ClassDefinition.resolveName(Environment env,
Identifier name)
Look up an inner class name, from somewhere inside this class.
|
Identifier |
Environment.resolveName(Identifier name)
Resolve a class name, using only package and import directives.
|
Identifier |
Environment.resolvePackageQualifiedName(Identifier name)
Discover if name consists of a package prefix, followed by the
name of a class (that actually exists), followed possibly by
some inner class names.
|
void |
Imports.setCurrentPackage(Identifier id)
Specify the current package
|
protected void |
ClassDefinition.setLocalName(Identifier name)
Set the local name of a class.
|
static Type |
Type.tClass(Identifier className)
Create a class type.
|
| Constructor and Description |
|---|
AmbiguousClass(Identifier name1,
Identifier name2)
Constructor
|
ClassDeclaration(Identifier name)
Constructor
|
ClassNotFound(Identifier nm)
Create a ClassNotFound exception
|
IdentifierToken(Identifier id)
Use this constructor when the identifier is synthesized.
|
IdentifierToken(long where,
Identifier id) |
IdentifierToken(long where,
Identifier id,
int modifiers) |
MemberDefinition(long where,
ClassDefinition clazz,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] expIds,
Node value)
Constructor
|
Package(ClassPath binaryPath,
Identifier pkg)
Create a package given a source path, binary path, and package
name.
|
| Modifier and Type | Field and Description |
|---|---|
protected Identifier |
BatchParser.pkg
Deprecated.
The current package
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BatchEnvironment.classExists(Identifier nm)
Check if a class exists
Applies only to package members (non-nested classes).
|
ClassDeclaration |
BatchEnvironment.getClassDeclaration(Identifier nm)
Get a class, given the fully qualified class name
|
Package |
BatchEnvironment.getPackage(Identifier pkg)
Get the package path for a package
|
boolean |
BatchEnvironment.isExemptPackage(Identifier id)
Tells whether an Identifier refers to a package which should be
exempt from the "exists" check in Imports#resolve().
|
MemberDefinition |
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.
|
| Constructor and Description |
|---|
SourceClass(Environment env,
long where,
ClassDeclaration declaration,
String documentation,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
SourceClass outerClass,
Identifier localName)
Deprecated.
Constructor
|
SourceMember(long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
Vector<MemberDefinition> argNames,
IdentifierToken[] exp,
Node value)
Deprecated.
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Identifier |
Context.getApparentClassName(Environment env,
Identifier name)
Return the name of a lexically apparent type,
skipping inherited members, and ignoring
the current pacakge and imports.
|
static Identifier |
FieldExpression.toIdentifier(Expression e)
Convert an '.' expression to a qualified identifier
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IdentifierExpression.equals(Identifier id)
Check if the expression is equal to a value
|
boolean |
Expression.equals(Identifier id) |
Identifier |
Context.getApparentClassName(Environment env,
Identifier name)
Return the name of a lexically apparent type,
skipping inherited members, and ignoring
the current pacakge and imports.
|
MemberDefinition |
Context.getApparentField(Environment env,
Identifier name)
Like getField, except that it skips over inherited fields.
|
Context |
Context.getBreakContext(Identifier lbl)
Get the destination context of a break
|
Context |
Context.getContinueContext(Identifier lbl)
Get the destination context of a continue
|
MemberDefinition |
Context.getField(Environment env,
Identifier name)
Get either a local variable, or a field in a current class
|
Context |
Context.getLabelContext(Identifier lbl)
Get the context that corresponds to a label, return null if
not found.
|
LocalMember |
Context.getLocalClass(Identifier name)
Get a local class by name
|
LocalMember |
Context.getLocalField(Identifier name)
Get a local variable by name
|
boolean |
Statement.hasLabel(Identifier lbl) |
| Constructor and Description |
|---|
BreakStatement(long where,
Identifier lbl)
Constructor
|
CatchStatement(long where,
Expression texpr,
Identifier id,
Statement body)
Deprecated.
|
ContinueStatement(long where,
Identifier lbl)
Constructor
|
FieldExpression(long where,
Expression right,
Identifier id)
constructor
|
IdentifierExpression(long where,
Identifier id)
Constructor
|
LocalMember(long where,
ClassDefinition clazz,
int modifiers,
Type type,
Identifier name)
Constructor
|
MethodExpression(long where,
Expression right,
Identifier id,
Expression[] args)
constructor
|
Copyright © 2017–2023 Eclipse Foundation. All rights reserved.