public class CompiledClass extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
CompiledClass(CompiledClass enclosingClass,
String internalName,
String sourceName)
For mock construction in tests.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Reads the bytes of the compiled class from the disk cache.
|
CompiledClass |
getEnclosingClass() |
String |
getInternalName()
Returns the class internal binary name for this type, e.g.
|
String |
getPackageName()
Returns the enclosing package, e.g.
|
String |
getSignatureHash()
Returns a hash code on the byte code of the class.
|
String |
getSourceName()
Returns the qualified source name, e.g.
|
CompilationUnit |
getUnit() |
boolean |
isLocal()
Returns
true if this is a local type, or if this type is
nested inside of any local type. |
String |
toString() |
protected CompiledClass(CompiledClass enclosingClass, String internalName, String sourceName)
public byte[] getBytes()
public CompiledClass getEnclosingClass()
public String getInternalName()
java/util/Map$Entry
.public String getPackageName()
java.util
.public String getSignatureHash()
public String getSourceName()
java.util.Map.Entry
.public CompilationUnit getUnit()
public boolean isLocal()
true
if this is a local type, or if this type is
nested inside of any local type.Copyright © 2018. All rights reserved.