public abstract class EntityDescriptor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EntityDescriptor.Fragment
Stores the size contribution to each fragment for this entity.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<EntityDescriptor.Fragment> |
fragments |
protected java.lang.String |
name |
protected java.util.Set<java.lang.String> |
obfuscatedNames
Stores obfuscated names.
|
Constructor and Description |
---|
EntityDescriptor(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addFragment(EntityDescriptor.Fragment fragment) |
void |
addObfuscatedName(java.lang.String obfuscatedName) |
java.util.Collection<EntityDescriptor.Fragment> |
getFragments()
Returns the list of sizes per fragment contributed by this entity.
|
abstract java.lang.String |
getFullName()
Returns the full qualified name.
|
java.lang.String |
getName()
Returns the name of the entity.
|
java.util.Set<java.lang.String> |
getObfuscatedNames() |
protected final java.lang.String name
protected final java.util.Set<java.lang.String> obfuscatedNames
protected final java.util.List<EntityDescriptor.Fragment> fragments
public void addFragment(EntityDescriptor.Fragment fragment)
public java.util.Collection<EntityDescriptor.Fragment> getFragments()
public abstract java.lang.String getFullName()
public java.lang.String getName()
JType.getShortName()
, fields return the field name,
and methods return the method name without its signature.public java.util.Set<java.lang.String> getObfuscatedNames()
public void addObfuscatedName(java.lang.String obfuscatedName)