Package | Description |
---|---|
org.codehaus.janino |
The classes in this package pose the core of the Janino JavaTM compiler.
|
Modifier and Type | Interface and Description |
---|---|
(package private) static interface |
Java.InnerClassDeclaration
Represents the declaration of an inner class, i.e.
|
static interface |
Java.MemberTypeDeclaration
Represents a class or interface declaration where the immediately enclosing scope is
another class or interface declaration.
|
static interface |
Java.NamedTypeDeclaration
Represents the declaration of a class or an interface that has a name.
|
static interface |
Java.PackageMemberTypeDeclaration
Represents a class or interface declaration on compilation unit level.
|
Modifier and Type | Class and Description |
---|---|
static class |
Java.AbstractTypeDeclaration
Abstract implementation of
Java.TypeDeclaration . |
static class |
Java.AnonymousClassDeclaration
Representation of a JLS7 15.9.5 'anonymous class declaration'.
|
static class |
Java.ClassDeclaration
Base for the various class declaration kinds.
|
static class |
Java.InterfaceDeclaration
Base for the various interface declaration kinds.
|
static class |
Java.LocalClassDeclaration
Representation of a 'local class declaration' i.e.
|
static class |
Java.MemberClassDeclaration
Representation of a 'member class declaration', i.e.
|
static class |
Java.MemberInterfaceDeclaration
Representation of a 'member interface declaration', i.e.
|
static class |
Java.NamedClassDeclaration
Base for the various named class declarations.
|
static class |
Java.PackageMemberClassDeclaration
Implementation of a 'package member class declaration', a.k.a.
|
static class |
Java.PackageMemberInterfaceDeclaration
Representation of a 'package member interface declaration', a.k.a.
|
Modifier and Type | Field and Description |
---|---|
private Java.TypeDeclaration |
Java.AbstractTypeBodyDeclaration.declaringType |
Java.TypeDeclaration |
Java.EnclosingScopeOfTypeDeclaration.typeDeclaration
The specific type declaration.
|
Modifier and Type | Method and Description |
---|---|
Java.TypeDeclaration |
Java.MemberClassDeclaration.getDeclaringType() |
Java.TypeDeclaration |
Java.MemberInterfaceDeclaration.getDeclaringType() |
Java.TypeDeclaration |
Java.TypeBodyDeclaration.getDeclaringType() |
Java.TypeDeclaration |
Java.AbstractTypeBodyDeclaration.getDeclaringType() |
Java.TypeDeclaration |
Java.FieldDeclaration.getDeclaringType() |
(package private) static Java.TypeDeclaration |
UnitCompiler.getOuterClass(Java.TypeDeclaration typeDeclaration) |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<Java.TypeDeclaration> |
UnitCompiler.getOuterClasses(Java.TypeDeclaration inner)
Return a list consisting of the given
inner class and all its outer classes. |
Modifier and Type | Method and Description |
---|---|
private void |
UnitCompiler.compile(Java.TypeDeclaration td) |
private void |
UnitCompiler.compileDeclaredMemberTypes(Java.TypeDeclaration decl,
ClassFile cf)
Compile all of the types for this declaration
|
private void |
UnitCompiler.compileDeclaredMethods(Java.TypeDeclaration typeDeclaration,
ClassFile cf,
int startPos)
Compile methods for this declaration starting at
startPos . |
(package private) static Java.TypeDeclaration |
UnitCompiler.getOuterClass(Java.TypeDeclaration typeDeclaration) |
private static java.util.List<Java.TypeDeclaration> |
UnitCompiler.getOuterClasses(Java.TypeDeclaration inner)
Return a list consisting of the given
inner class and all its outer classes. |
private IClass |
UnitCompiler.resolve(Java.TypeDeclaration td) |
void |
Java.MemberClassDeclaration.setDeclaringType(Java.TypeDeclaration declaringType) |
void |
Java.MemberInterfaceDeclaration.setDeclaringType(Java.TypeDeclaration declaringType) |
void |
Java.TypeBodyDeclaration.setDeclaringType(Java.TypeDeclaration declaringType)
Sets the type declaration that this declaration belongs to.
|
void |
Java.AbstractTypeBodyDeclaration.setDeclaringType(Java.TypeDeclaration declaringType) |
void |
Java.FunctionDeclarator.setDeclaringType(Java.TypeDeclaration declaringType) |
void |
Java.FieldDeclaration.setDeclaringType(Java.TypeDeclaration declaringType) |
private void |
UnparseVisitor.unparseTypeDeclaration(Java.TypeDeclaration typeDeclaration) |
Constructor and Description |
---|
EnclosingScopeOfTypeDeclaration(Java.TypeDeclaration typeDeclaration) |