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
Modifier and TypeClassDescriptionstatic class
Stores the size contribution to each fragment for this entity. -
Field Summary
Modifier and TypeFieldDescriptionprotected final List
<EntityDescriptor.Fragment> protected final String
Stores obfuscated names. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFragment
(EntityDescriptor.Fragment fragment) void
addObfuscatedName
(String obfuscatedName) Returns the list of sizes per fragment contributed by this entity.abstract String
Returns 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
-