public static class UnitCompiler.SimpleIField extends IClass.IField
IClass.IField
that implements a non-constant, non-static,
package-accessible field.Constructor and Description |
---|
SimpleIField(IClass declaringIClass,
String name,
IClass type) |
Modifier and Type | Method and Description |
---|---|
Access |
getAccess() |
Java.Annotation[] |
getAnnotations() |
Object |
getConstantValue()
Returns the value of the field if it is a compile-time constant value, i.e.
|
String |
getName() |
IClass |
getType() |
boolean |
isStatic() |
getDeclaringIClass, getDescriptor, toString
public Object getConstantValue()
IClass.IField
getConstantValue
in class IClass.IField
public String getName()
getName
in class IClass.IField
public IClass getType()
getType
in class IClass.IField
public boolean isStatic()
isStatic
in class IClass.IField
public Access getAccess()
getAccess
in interface IClass.IMember
getAccess
in class IClass.IField
Access.PRIVATE
, Access.PROTECTED
,
Access.DEFAULT
and Access.PUBLIC
.public Java.Annotation[] getAnnotations()
Copyright © 2001–2016. All rights reserved.