Package | Description |
---|---|
org.codehaus.janino |
The classes in this package pose the core of the Janino JavaTM compiler.
|
Modifier and Type | Class and Description |
---|---|
private class |
ReflectionIClass.ReflectionIField |
static class |
UnitCompiler.SimpleIField
Short-hand implementation of
IClass.IField that implements a non-constant, non-static,
package-accessible field. |
Modifier and Type | Field and Description |
---|---|
IClass.IField |
Java.FieldAccess.field
The field within the class or instance identified by the
Java.FieldAccess.lhs . |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,IClass.IField> |
IClass.declaredIFieldsCache |
private java.util.Map<ClassFile.FieldInfo,IClass.IField> |
ClassFileIClass.resolvedFields |
(package private) java.util.SortedMap<java.lang.String,IClass.IField> |
Java.ClassDeclaration.syntheticFields
All field names start with "this$" or "val$".
|
Modifier and Type | Method and Description |
---|---|
private IClass.IField |
UnitCompiler.findIField(IClass iClass,
java.lang.String name,
Location location)
Finds a named field in the given
IClass . |
IClass.IField |
IClass.getDeclaredIField(java.lang.String name)
Returns the named
IClass.IField declared in this IClass (does not work for inherited fields). |
IClass.IField[] |
IClass.getDeclaredIFields()
Returns the
IClass.IField s declared in this IClass (but not inherited fields). |
protected IClass.IField[] |
ReflectionIClass.getDeclaredIFields2() |
protected abstract IClass.IField[] |
IClass.getDeclaredIFields2()
Uncached version of
IClass.getDeclaredIFields() . |
protected IClass.IField[] |
IClass.PrimitiveIClass.getDeclaredIFields2() |
protected IClass.IField[] |
ClassFileIClass.getDeclaredIFields2() |
private IClass.IField[] |
UnitCompiler.getIFields(Java.FieldDeclaration fieldDeclaration) |
IClass.IField[] |
IClass.getSyntheticIFields()
Returns the synthetic fields of an anonymous or local class, in
the order in which they are passed to all constructors.
|
private IClass.IField |
ClassFileIClass.resolveField(ClassFile.FieldInfo fieldInfo) |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<java.lang.String,IClass.IField> |
IClass.getDeclaredIFieldsCache() |
Modifier and Type | Method and Description |
---|---|
void |
Java.InnerClassDeclaration.defineSyntheticField(IClass.IField iField)
Inner classes have zero or more synthetic fields that hold references to their enclosing
context:
this$n
(Mandatory for non-private non-static member classes; optional for private non-static
member classes, local classes in non-static context, and anonymous classes in
non-static context; forbidden for static member classes, local classes in static
context, and anonymous classes in static context)
Holds a reference to the immediately enclosing instance. |
void |
Java.ClassDeclaration.defineSyntheticField(IClass.IField iField) |
private void |
UnitCompiler.getfield(Java.Locatable locatable,
IClass.IField iField) |
private void |
UnitCompiler.putfield(Java.Locatable locatable,
IClass.IField iField) |
Constructor and Description |
---|
FieldAccess(Location location,
Java.Atom lhs,
IClass.IField field) |