Class FieldDescriptor
java.lang.Object
com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
com.google.gwt.core.ext.soyc.coderef.MemberDescriptor
com.google.gwt.core.ext.soyc.coderef.FieldDescriptor
Represents a field.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
EntityDescriptor.Fragment
-
Field Summary
Fields inherited from class com.google.gwt.core.ext.soyc.coderef.MemberDescriptor
enclosingClassDescriptor, type
Fields inherited from class com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
fragments, name, obfuscatedNames
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FieldDescriptor
from
(ClassDescriptor classDescriptor, com.google.gwt.dev.jjs.ast.JField jField) Creates a field descriptor from a JField and set its enclosing class.com.google.gwt.dev.jjs.ast.JField
The signature of the member.Methods inherited from class com.google.gwt.core.ext.soyc.coderef.MemberDescriptor
getEnclosingClassDescriptor, getFullName, getType
Methods inherited from class com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
addFragment, addObfuscatedName, getFragments, getName, getObfuscatedNames
-
Constructor Details
-
FieldDescriptor
-
-
Method Details
-
from
public static FieldDescriptor from(ClassDescriptor classDescriptor, com.google.gwt.dev.jjs.ast.JField jField) Creates a field descriptor from a JField and set its enclosing class. -
getFieldReference
public com.google.gwt.dev.jjs.ast.JField getFieldReference() -
getJsniSignature
Description copied from class:MemberDescriptor
The signature of the member.- Specified by:
getJsniSignature
in classMemberDescriptor
- Returns:
- The member name plus its signature
-