Package | Description |
---|---|
oracle.javatools.parser.java.v2 |
The parser API.
|
oracle.javatools.parser.java.v2.model |
The parser model API.
|
oracle.javatools.parser.java.v2.util |
Various utilities for use with the parser.
|
Modifier and Type | Method and Description |
---|---|
SourceFieldVariable |
SourceFactory.createFieldVariable(int modifiers, SourceTypeReference type, java.lang.String name)
Creates a field variable.
|
SourceFieldVariable |
SourceFactory.createFieldVariable(int modifiers, SourceTypeReference type, java.lang.String name, int xdimensions, SourceExpression initializer)
Creates a field variable.
|
SourceFieldVariable |
SourceFactory.createFieldVariable(int modifiers, SourceTypeReference type, java.lang.String name, SourceExpression initializer)
Creates a field variable.
|
abstract SourceFieldVariable |
SourceFactory.createFieldVariable(SourceLocalVariable variable)
Creates a field variable to match the local variable.
|
SourceFieldVariable |
SourceFactory.createFieldVariable(SourceTypeReference type, java.lang.String name)
Creates a field variable.
|
SourceFieldVariable |
SourceFactory.createFieldVariable(SourceTypeReference type, java.lang.String name, SourceExpression initializer)
Creates a field variable
|
Modifier and Type | Method and Description |
---|---|
abstract SourceFieldDeclaration |
SourceFactory.createFieldDeclaration(SourceFieldVariable variable)
Creates a field declaration.
|
abstract SourceFieldDeclaration |
SourceFactory.createFieldDeclaration(SourceFieldVariable[] variables)
Creates a field declaration from one or more field variables.
|
Modifier and Type | Field and Description |
---|---|
static SourceFieldVariable[] |
SourceFieldVariable.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
SourceFieldVariable |
SourceClass.getSourceFieldVariable(java.lang.String name)
Gets the matching declared field variable, null if none.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SourceFieldVariable> |
SourceClassBody.getSourceFieldVariables()
Gets the collection of declared field variables.
|
java.util.Collection<SourceFieldVariable> |
SourceClass.getSourceFieldVariables()
Gets the collection of declared field.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FlowAnalysisListener.declareField(SourceFieldVariable sym, SourceExpression initializer)
Declare or define a field.
|
boolean |
FlowAnalysisListener.fieldUsed(SourceFieldVariable field, SourceExpression context)
Usage of a field.
|
Modifier and Type | Method and Description |
---|---|
void |
Usages.declareField(SourceFieldVariable s)
Declares a single field that is not a enum constant.
|
void |
SourceVisitor.whenEnterFieldVariable(SourceFieldVariable sourceFieldVariable) |
void |
SourceVisitor.whenExitFieldVariable(SourceFieldVariable sourceFieldVariable) |