Modifier and Type | Method and Description |
---|---|
JField |
FieldDescriptor.getFieldReference() |
Modifier and Type | Method and Description |
---|---|
FieldDescriptor |
ClassDescriptor.fieldFrom(JField field)
Returns a field descriptor from a JField.
|
static FieldDescriptor |
FieldDescriptor.from(ClassDescriptor classDescriptor,
JField jField)
Creates a field descriptor from a JField and set its enclosing class.
|
Modifier and Type | Method and Description |
---|---|
StandardFieldMember |
MemberFactory.get(JField field) |
Constructor and Description |
---|
StandardFieldMember(MemberFactory factory,
JField field)
Constructed by
MemberFactory#get(JFieldType) . |
Modifier and Type | Method and Description |
---|---|
static void |
JsInteropUtil.maybeSetJsInteropProperties(JField field,
boolean generateExport,
org.eclipse.jdt.internal.compiler.ast.Annotation... annotations) |
Modifier and Type | Method and Description |
---|---|
JField |
Correlation.getField() |
Modifier and Type | Method and Description |
---|---|
abstract Correlation |
CorrelationFactory.by(JField field) |
Correlation |
CorrelationFactory.DummyCorrelationFactory.by(JField field) |
Correlation |
CorrelationFactory.RealCorrelationFactory.by(JField field) |
Modifier and Type | Class and Description |
---|---|
class |
JEnumField
A field that is an enum constant.
|
Modifier and Type | Field and Description |
---|---|
static JField |
JField.NULL_FIELD |
Modifier and Type | Field and Description |
---|---|
protected List<JField> |
JDeclaredType.fields
This type's fields.
|
Modifier and Type | Method and Description |
---|---|
JField |
JProgram.getClassLiteralField(JType type) |
JField |
JFieldRef.getField() |
JField |
JClassLiteral.getField()
Returns the field holding my allocated object.
|
JField |
JProgram.getIndexedField(String string) |
JField |
JProgram.getNullField() |
Modifier and Type | Method and Description |
---|---|
List<JField> |
JDeclaredType.getFields()
Returns this type's fields;does not include fields defined in a super type
unless they are overridden by this type.
|
Set<JField> |
JProgram.getIndexedFields() |
Modifier and Type | Method and Description |
---|---|
void |
JEnumType.addField(JField field) |
void |
JDeclaredType.addField(JField field)
Adds a field to this type.
|
void |
JVisitor.endVisit(JField x,
Context ctx) |
JType |
JProgram.getTypeByClassLiteralField(JField field) |
void |
JFieldRef.resolve(JField newField)
Resolve an external reference during AST stitching.
|
void |
JClassLiteral.setField(JField field) |
T |
JTransformer.transformField(JField x) |
boolean |
JVisitor.visit(JField x,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
JProgram.recordClassLiteralFields(Map<JType,JField> classLiteralFields) |
void |
JDeclaredType.sortFields(Comparator<? super JField> sort)
Sorts this type's fields according to the specified sort.
|
Constructor and Description |
---|
JFieldRef(SourceInfo info,
JExpression instance,
JField field,
JDeclaredType enclosingType) |
JFieldRef(SourceInfo info,
JExpression instance,
JField field,
JDeclaredType enclosingType,
JType overriddenType) |
Constructor and Description |
---|
JsniFieldRef(SourceInfo info,
String ident,
JField field,
JDeclaredType enclosingType,
boolean isLvalue) |
Modifier and Type | Method and Description |
---|---|
JField |
ReferenceMapper.get(org.eclipse.jdt.internal.compiler.lookup.FieldBinding binding) |
JField |
JChangeTrackingVisitor.getCurrentField() |
JField |
JavaToJavaScriptMapImpl.nameToField(JsName name) |
JField |
JavaToJavaScriptMap.nameToField(JsName name)
If
name is the name of a
var |
Modifier and Type | Method and Description |
---|---|
static com.google.gwt.thirdparty.guava.common.base.Predicate<JField> |
ComputePotentiallyObservableUninitializedValues.analyze(JProgram program)
Perform the analysis to compute which fields can be observed uninitialized.
|
Set<JField> |
ControlFlowAnalyzer.getFieldsWritten()
Return the set of all fields that are written.
|
Set<JField> |
OptimizerContext.getModifiedFieldsSince(int stepSince)
Return all the effective modified fields since a given step.
|
Set<JField> |
FullOptimizerContext.getModifiedFieldsSince(int stepSince) |
Set<JField> |
OptimizerContext.getReferencedFieldsByMethods(Collection<JMethod> methods)
Return fields that are referenced by
methods . |
Set<JField> |
FullOptimizerContext.getReferencedFieldsByMethods(Collection<JMethod> methods) |
Set<JField> |
FieldReferencesGraph.getReferencedFieldsByMethods(Collection<JMethod> methods)
Return the referenced fields by
methods . |
Modifier and Type | Method and Description |
---|---|
void |
JChangeTrackingVisitor.endVisit(JField x,
Context ctx) |
void |
JavaAstVerifier.endVisit(JField x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JField x,
Context ctx) |
boolean |
JChangeTrackingVisitor.enter(JField x,
Context ctx) |
void |
JChangeTrackingVisitor.exit(JField x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.exit(JField x,
Context ctx) |
void |
OptimizerContext.markModified(JField modifiedField)
Add modified field to the modification information.
|
void |
FullOptimizerContext.markModified(JField modifiedField) |
JsName |
JavaToJavaScriptMapImpl.nameForField(JField field) |
JsName |
JavaToJavaScriptMap.nameForField(JField field)
Return the JavaScript name corresponding to a Java field.
|
void |
OptimizerContext.remove(JField field)
Remove field from the modification information.
|
void |
FullOptimizerContext.remove(JField field) |
void |
FieldReferencesGraph.removeField(JField field)
For removing a field, remove the {referencedFields <-> methods} pairs that are related to the
field.
|
void |
ReferenceMapper.setField(org.eclipse.jdt.internal.compiler.lookup.FieldBinding binding,
JField field) |
boolean |
ToStringGenerationVisitor.visit(JField x,
Context ctx) |
boolean |
ControlFlowRecorder.visit(JField x,
Context ctx) |
boolean |
JChangeTrackingVisitor.visit(JField x,
Context ctx) |
void |
JChangeTrackingVisitor.wasRemoved(JField field) |
Modifier and Type | Method and Description |
---|---|
void |
JChangeTrackingVisitor.fieldsWereRemoved(Collection<JField> fields) |
Set<JMethod> |
OptimizerContext.getMethodsByReferencedFields(Collection<JField> fields)
Return methods that reference
fields . |
Set<JMethod> |
FullOptimizerContext.getMethodsByReferencedFields(Collection<JField> fields) |
Set<JMethod> |
FieldReferencesGraph.getReferencingMethodsForFields(Collection<JField> fields)
Return the methods that reference
fields . |
void |
OptimizerContext.removeFields(Collection<JField> fields)
Remove fields from the modification information.
|
void |
FullOptimizerContext.removeFields(Collection<JField> fields) |
Modifier and Type | Method and Description |
---|---|
boolean |
NothingAlivePredicate.isLive(JField field) |
boolean |
CfaLivenessPredicate.isLive(JField field) |
boolean |
LivenessPredicate.isLive(JField field)
Subclasses should return true if
field is deemed live and false otherwise. |
Copyright © 2018. All rights reserved.