|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectPptName
public class PptName
PptName is an immutable ADT that represents naming data associated with a given program point, such as the class or method.
Examples below are as if the full value of this PptName were "DataStructures.StackAr.pop()Ljava/lang/Object;:::EXIT84"
PptName is deprecated, because declaration file format 2 should not need it. Uses of PptName should be eliminated.
| Constructor Summary | |
|---|---|
PptName(String name)
|
|
PptName(String className,
String methodName,
String pointName)
className or methodName (or both) must be non-null |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
boolean |
equals(PptName o)
|
String |
exitLine()
|
String |
getFullClassName()
|
String |
getMethodName()
|
String |
getName()
|
String |
getNameWithoutPoint()
|
String |
getPackageName()
|
String |
getPoint()
|
int |
getPointSubscript()
|
String |
getShortClassName()
|
String |
getSignature()
|
int |
hashCode()
|
boolean |
isClassStaticSynthetic()
|
boolean |
isCombinedExitPoint()
|
boolean |
isConstructor()
|
boolean |
isEnterPoint()
|
boolean |
isExitPoint()
|
boolean |
isGlobalPoint()
|
boolean |
isNumberedExitPoint()
|
boolean |
isObjectInstanceSynthetic()
|
boolean |
isThrowsPoint()
|
PptName |
makeClassStatic()
Requires: this.isExitPoint() || this.isEnterPoint() || this.isObjectInstanceSynthetic() |
PptName |
makeEnter()
Requires: this.isExitPoint() |
PptName |
makeExit()
Requires: this.isExitPoint() || this.isEnterPoint() |
PptName |
makeObject()
Requires: this.isExitPoint() || this.isEnterPoint() |
String |
name()
|
String |
repr()
Debugging output |
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PptName(String name)
name - non-null ppt name as given in the decls file
public PptName(String className,
String methodName,
String pointName)
| Method Detail |
|---|
public String name()
getName()public String getName()
public String getFullClassName()
public String getShortClassName()
public String getPackageName()
public String getSignature()
public String getMethodName()
public String getNameWithoutPoint()
public String getPoint()
public int getPointSubscript()
exitLine()public boolean isObjectInstanceSynthetic()
public boolean isClassStaticSynthetic()
public boolean isGlobalPoint()
public boolean isExitPoint()
public boolean isThrowsPoint()
public boolean isCombinedExitPoint()
public boolean isNumberedExitPoint()
public boolean isEnterPoint()
public String exitLine()
getPointSubscript()public boolean isConstructor()
public String repr()
public PptName makeEnter()
public PptName makeExit()
public PptName makeObject()
public PptName makeClassStatic()
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic boolean equals(PptName o)
public int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||