public abstract class EntityDescriptor extends 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 List<EntityDescriptor.Fragment> |
fragments |
protected String |
name |
protected Set<String> |
obfuscatedNames
Stores obfuscated names.
|
Constructor and Description |
---|
EntityDescriptor(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addFragment(EntityDescriptor.Fragment fragment) |
void |
addObfuscatedName(String obfuscatedName) |
Collection<EntityDescriptor.Fragment> |
getFragments()
Returns the list of sizes per fragment contributed by this entity.
|
abstract String |
getFullName()
Returns the full qualified name.
|
String |
getName()
Returns the name of the entity.
|
Set<String> |
getObfuscatedNames() |
protected final String name
protected final Set<String> obfuscatedNames
protected final List<EntityDescriptor.Fragment> fragments
public EntityDescriptor(String name)
public void addFragment(EntityDescriptor.Fragment fragment)
public Collection<EntityDescriptor.Fragment> getFragments()
public abstract String getFullName()
public String getName()
JType.getShortName()
, fields return the field name,
and methods return the method name without its signature.public void addObfuscatedName(String obfuscatedName)
Copyright © 2016. All rights reserved.