Modifier and Type | Field and Description |
---|---|
private static BCELComparator | |
protected byte | tag
Deprecated
(since 6.0) will be made private; do not access directly, use getter/setter
|
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public abstract void | accept(Visitor
Visitor object v)Redeclares com. |
public Object | |
public Constant | |
public abstract void | |
public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. |
public static BCELComparator | |
public final byte | |
public int | hashCode()
Overrides java. |
public static Constant | Returns: Constant objectInput stream dataInput)Reads one constant from the given input, the type depends on a tag byte. |
public static void | |
public String | Returns: String representation.Overrides java. |
bcelComparator | back to summary |
---|---|
private static BCELComparator bcelComparator |
tag | back to summary |
---|---|
protected byte tag
Deprecated (since 6.0) will be made private; do not access directly, use getter/setter |
Constant | back to summary |
---|---|
pack-priv Constant(final byte tag) |
accept | back to summary |
---|---|
public abstract void accept(Visitor v) Redeclares com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. |
clone | back to summary |
---|---|
public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true , but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true , this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by |
copy | back to summary |
---|---|
public Constant copy()
|
dump | back to summary |
---|---|
public abstract void dump(DataOutputStream file) throws IOException |
equals | back to summary |
---|---|
public boolean equals(final Object obj) Overrides java. Returns value as defined by given BCELComparator strategy. By default two Constant objects are said to be equal when the result of toString() is equal.
|
getComparator | back to summary |
---|---|
public static BCELComparator getComparator()
|
getTag | back to summary |
---|---|
public final byte getTag()
|
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Returns value as defined by given BCELComparator strategy. By default return the hashcode of the result of toString().
|
readConstant | back to summary |
---|---|
public static Constant readConstant(final DataInput dataInput) throws IOException, ClassFormatException Reads one constant from the given input, the type depends on a tag byte.
|
setComparator | back to summary |
---|---|
public static void setComparator(final BCELComparator comparator)
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object. |