Class ClassDescriptor
java.lang.Object
com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
com.google.gwt.core.ext.soyc.coderef.ClassDescriptor
A succinct code representation for classes.
-
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.EntityDescriptor
fragments, name, obfuscatedNames -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(FieldDescriptor fieldDescriptor) voidaddMethod(MethodDescriptor methodDescriptor) fieldFrom(com.google.gwt.dev.jjs.ast.JField field) Returns a field descriptor from a JField.static ClassDescriptorfrom(com.google.gwt.dev.jjs.ast.JDeclaredType classType) Creates a class descriptor from a JDeclaredType.Returns the field descriptor associated to the given field name.Returns the full qualified name.Returns the method descriptor associated to the given original method signature.com.google.gwt.dev.jjs.ast.JDeclaredTypemethodFrom(com.google.gwt.dev.jjs.ast.JMethod method, String signature) Returns a method descriptor from a JMethod and its original signature (prior any modifications).Methods inherited from class com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
addFragment, addObfuscatedName, getFragments, getName, getObfuscatedNames
-
Constructor Details
-
ClassDescriptor
-
-
Method Details
-
from
Creates a class descriptor from a JDeclaredType. -
addField
-
addMethod
-
fieldFrom
Returns a field descriptor from a JField. If the field descriptor is not in the current class descriptor, it will be added. -
getField
Returns the field descriptor associated to the given field name. -
getFields
-
getFullName
Description copied from class:EntityDescriptorReturns the full qualified name.- Specified by:
getFullNamein classEntityDescriptor
-
getMethod
Returns the method descriptor associated to the given original method signature. -
getMethods
-
getPackageName
-
getTypeReference
public com.google.gwt.dev.jjs.ast.JDeclaredType getTypeReference() -
methodFrom
Returns a method descriptor from a JMethod and its original signature (prior any modifications). If the method descriptor is not in the current class descriptor, it will be added.
-