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.maybeSetExportedField(org.eclipse.jdt.internal.compiler.ast.FieldDeclaration x,
JField field) |
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 |
---|---|
Set<JField> |
JTypeOracle.getExportedFields() |
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.
|
Collection<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) |
boolean |
JTypeOracle.isExportedField(JField field) |
void |
JFieldRef.resolve(JField newField)
Resolve an external reference during AST stitching.
|
void |
JClassLiteral.setField(JField field) |
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
TypeTightener.TightenTypesVisitor.endVisit(JField x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JField x,
Context ctx) |
JsName |
JavaToJavaScriptMapImpl.nameForField(JField field) |
JsName |
JavaToJavaScriptMap.nameForField(JField field)
Return the JavaScript name corresponding to a Java field.
|
void |
ReferenceMapper.setField(org.eclipse.jdt.internal.compiler.lookup.FieldBinding binding,
JField field) |
boolean |
ToStringGenerationVisitor.visit(JField x,
Context ctx) |
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.