Class EntityDescriptor
java.lang.Object
com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
- Direct Known Subclasses:
ClassDescriptor,MemberDescriptor
The abstraction of any possible entity in the code that is register by soyc: classes, methods
and fields. It includes all contributed sizes per fragment.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classStores the size contribution to each fragment for this entity. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<EntityDescriptor.Fragment> protected final StringStores obfuscated names. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFragment(EntityDescriptor.Fragment fragment) voidaddObfuscatedName(String obfuscatedName) Returns the list of sizes per fragment contributed by this entity.abstract StringReturns the full qualified name.getName()Returns the name of the entity.
-
Field Details
-
name
-
obfuscatedNames
Stores obfuscated names. An entity can have several obfuscated names, because it can be presented in several forms, eg. in methods: original and its static version. -
fragments
-
-
Constructor Details
-
EntityDescriptor
-
-
Method Details
-
addFragment
-
getFragments
Returns the list of sizes per fragment contributed by this entity. -
getFullName
Returns the full qualified name. -
getName
Returns the name of the entity. For instance, class entities return the short nameJType.getShortName(), fields return the field name, and methods return the method name without its signature. -
getObfuscatedNames
-
addObfuscatedName
-