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, typeFields inherited from class com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
fragments, name, obfuscatedNames -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldDescriptorfrom(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.JFieldThe signature of the member.Methods inherited from class com.google.gwt.core.ext.soyc.coderef.MemberDescriptor
getEnclosingClassDescriptor, getFullName, getTypeMethods 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:MemberDescriptorThe signature of the member.- Specified by:
getJsniSignaturein classMemberDescriptor- Returns:
- The member name plus its signature
-