|
|||||||||
| Home >> All >> ch >> epfl >> lamp >> [ smartanalysis overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
ch.epfl.lamp.smartanalysis
Class DepField

java.lang.Objectch.epfl.lamp.smartanalysis.Reference
ch.epfl.lamp.smartanalysis.DepField
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DepField.InheritedField
- public class DepField
- extends Reference
Describes a class field.
- Version:
- 1.0
| Nested Class Summary | |
static class |
DepField.InheritedField
Represent an Field herited from a superclass/interface. |
static class |
DepField.UnknownFieldRef
A reference to a field, but we cannot determine the field origine. |
| Nested classes inherited from class ch.epfl.lamp.smartanalysis.Reference |
Reference.UnknownReference |
| Field Summary | |
private java.lang.Object |
constantValue
|
private DepType |
type
|
| Fields inherited from class ch.epfl.lamp.smartanalysis.Reference |
accessRight, belongTo |
| Constructor Summary | |
protected |
DepField(java.lang.String name,
DepType type,
DepClass owner,
int access)
Creates a new DepField instance. |
| Method Summary | |
java.lang.Object |
getConstantValue()
get the Constant value of this field, as defined by JVMS 2nd edition 4.7.2. |
java.lang.String |
getIdentifier()
get the identifier for that field: name+type |
static java.lang.String |
getIdentifier(java.lang.String name,
java.lang.String type)
get an identifier for this field from its name and type. |
DepType |
getType()
get the type of that field. |
void |
setConstantValue(java.lang.Object o)
Set the Constant value of this field, as defined by JVMS 2nd edition 4.7.2. |
| Methods inherited from class ch.epfl.lamp.smartanalysis.Reference |
addUser, addUsers, delete, equals, getAccess, getName, getOwner, getUsers, isAbstract, isDefault, isFinal, isInterface, isLessAccessible, isLessAccessible, isMoreAccessible, isMoreAccessible, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isTransient, isVolatile, removeFinal, removeStatic, removeUser, removeVolatile, setAbstract, setAccess, setDefault, setFinal, setNative, setPrivate, setProtected, setPublic, setStatic, setSynchronized, setTransient, setVolatile, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
type
private DepType type
constantValue
private java.lang.Object constantValue
| Constructor Detail |
DepField
protected DepField(java.lang.String name, DepType type, DepClass owner, int access)
- Creates a new
DepFieldinstance.
| Method Detail |
setConstantValue
public void setConstantValue(java.lang.Object o)
- Set the Constant value of this field, as defined by JVMS 2nd edition
4.7.2.
getConstantValue
public java.lang.Object getConstantValue()
- get the Constant value of this field, as defined by JVMS 2nd edition
4.7.2.
getType
public DepType getType()
- get the type of that field.
getIdentifier
public java.lang.String getIdentifier()
- get the identifier for that field: name+type
- Specified by:
getIdentifierin classReference
getIdentifier
public static java.lang.String getIdentifier(java.lang.String name, java.lang.String type)
- get an identifier for this field from its name and type.
|
|||||||||
| Home >> All >> ch >> epfl >> lamp >> [ smartanalysis overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC