public interface InlineContext extends EditorContext
| Modifier and Type | Method and Description |
|---|---|
void |
addIgnoreClass(Type type)
Notes that a class should be ignored by inlining.
|
void |
addIgnoreField(MemberRef field)
Notes that a field should be ignored by inlining.
|
void |
addIgnoreMethod(MemberRef method)
Notes that a method should be ignored by inlining.
|
void |
addIgnorePackage(java.lang.String name)
Notes that all classes, methods, and fields in a package should be
"ignored" by inlining.
|
CallGraph |
getCallGraph()
Returns the call graph for the program.
|
InlineStats |
getInlineStats()
Returns an InlineStats object for getting statistics about
inlining.
|
boolean |
ignoreClass(Type type)
Returns true if a class should be ignored by inlining.
|
boolean |
ignoreField(MemberRef field)
Returns true if a field should be ignored by inlining.
|
boolean |
ignoreMethod(MemberRef method)
Returns true if a method should be ignored by inlining.
|
void |
setIgnoreSystem(boolean ignoreSystem)
Sets whether or not we ignore all system classes.
|
void |
setRootMethods(java.util.Set roots)
Sets the root methods for this InlineContext.
|
commit, commit, commit, commit, editClass, editClass, editClass, editField, editField, editMethod, editMethod, getHierarchy, loadClass, newClass, newClassInfo, release, release, releaseCallGraph getCallGraph()
void setRootMethods(java.util.Set roots)
roots - The root methods (MemberRefs) of the programjava.lang.IllegalStateException - Call graph has already been created with different roots.InlineStats getInlineStats()
void addIgnorePackage(java.lang.String name)
void addIgnoreClass(Type type)
void addIgnoreMethod(MemberRef method)
void addIgnoreField(MemberRef field)
boolean ignoreClass(Type type)
boolean ignoreMethod(MemberRef method)
boolean ignoreField(MemberRef field)
void setIgnoreSystem(boolean ignoreSystem)