public class LongMemberValue extends MemberValue
| Constructor and Description |
|---|
LongMemberValue(ConstPool cp)
Constructs a long constant value.
|
LongMemberValue(int index,
ConstPool cp)
Constructs a long constant value.
|
LongMemberValue(long j,
ConstPool cp)
Constructs a long constant value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MemberValueVisitor visitor)
Accepts a visitor.
|
Class<?> |
getType(ClassLoader cl) |
long |
getValue()
Obtains the value of the member.
|
void |
setValue(long newValue)
Sets the value of the member.
|
String |
toString()
Obtains the string representation of this object.
|
void |
write(AnnotationsWriter writer)
Writes the value.
|
public LongMemberValue(int index,
ConstPool cp)
index - the index of a CONSTANT_Long_info structure.public LongMemberValue(long j,
ConstPool cp)
j - the initial value.public LongMemberValue(ConstPool cp)
public Class<?> getType(ClassLoader cl)
getType in class MemberValuepublic long getValue()
public void setValue(long newValue)
public String toString()
public void write(AnnotationsWriter writer) throws IOException
write in class MemberValueIOExceptionpublic void accept(MemberValueVisitor visitor)
accept in class MemberValueCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.