All Implemented Interfaces:
Manageable
, PersistenceCapable
, Shareable
, Member
, Method
, Signature
, TypeId
, UserFields
, XObject
, Map
, ExpressionFactory
, ValueObserver
, Routine
, Serializable
, Cloneable
See Also:
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.util.Map
Map.Chain
Field Summary
Fields inherited from class de.grogra.xl.expr.Expression
$TYPE , aval , aval$FIELD , dval , dval$FIELD , etype , EXPR_0 , I18N , lval , lval$FIELD , USED_BITS , VALID , valid$FIELD
Fields inherited from class de.grogra.graph.impl.Node
ADDITIONAL_FIELDS , bits , DELETED , EXTENT_BIT , EXTENT_MASK , extentIndex$FIELD , extentTail$FIELD , HAS_OBSERVERS , IS_INTERPRETIVE , isInterpretive$FIELD , LAST_EXTENT_INDEX , layer$FIELD , MARK , mark$FIELD , MAX_RESOLUTION , MIME_TYPE , MIN_RESOLUTION , MIN_UNUSED_SPECIAL_OF_SOURCE , MIN_UNUSED_SPECIAL_OF_TARGET , name$FIELD , RESOLUTION_BIT , RESOLUTION_MASK , resolution$FIELD
Fields inherited from interface de.grogra.reflect.Member
ABSTRACT , ACCESS_MODIFIERS , ARRAY , BRIDGE , CONSTANT , FINAL , INTERFACE , JAVA_MODIFIERS , LOCAL_CLASS , MIN_UNUSED_MODIFIER , NATIVE , PRIVATE , PROTECTED , PUBLIC , STATIC , STRICT , SYNCHRONIZED , SYNTHETIC , TRANSIENT , VARARGS , VOLATILE
Fields inherited from interface de.grogra.reflect.TypeId
A_VALUE , ABSTRACT_PRIMITIVE , BOOLEAN , BOOLEAN_MASK , BYTE , BYTE_MASK , CHAR , CHAR_MASK , D_VALUE , DOUBLE , DOUBLE_MASK , F_VALUE , FLOAT , FLOAT_MASK , FLOATING_POINT_MASK , I_VALUE , INT , INT_ASSIGNABLE , INT_MASK , INTEGRAL_MASK , L_VALUE , LONG , LONG_MASK , MAX_PRIMITIVE , MIN_PRIMITIVE , NUMERIC_MASK , NUMERIC_NONCHAR_MASK , OBJECT , OBJECT_MASK , PRIMITIVE_MASK , SHORT , SHORT_MASK , TYPE_COUNT , VOID , VOID_MASK
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
protected void
int
Returns the declaring type of which this is a member.
Returns a descriptor for this member.
int
int
Computes the number of VMXState stack elements for the frame
of this routine.
final int
Returns the modifiers of this member as a combination of
the bit masks which are defined in this interface.
final long
int
final int
Returns the simple name of this member.
boolean
boolean
Determines whether this routine expects its parameters on
the Java frame or the normal frame.
Computes the class-specific part of the string returned by
Node.toString()
which shall be enclosed in brackets.
final void
final void
void
protected void
Methods inherited from class de.grogra.xl.expr.Expression
add , cast , checkExpressionCount , checkSetType , clone , compile , compile , createConst , createExpression , createMaxConst , createMinConst , evaluateAsObject , evaluateAsVoid , evaluateBoolean , evaluateBoolean , evaluateBooleanImpl , evaluateByte , evaluateByte , evaluateByteImpl , evaluateChar , evaluateChar , evaluateCharImpl , evaluateDouble , evaluateDouble , evaluateDoubleImpl , evaluateFloat , evaluateFloat , evaluateFloatImpl , evaluateInt , evaluateInt , evaluateIntImpl , evaluateLong , evaluateLong , evaluateLongImpl , evaluateObject , evaluateObject , evaluateObjectImpl , evaluateRet , evaluateShort , evaluateShort , evaluateShortImpl , evaluatesWithoutSideeffect , fireValueChanged , getExpression , getExpression , getExpression , getExpressionCount , getFirstExpression , getLastExpression , getLeastCommonAncestor , getNextExpression , getNTypeImpl , getObjectExpression , getObjectExpression , getPromotedType , getSupportedTypes , getType , hasType , hasType , implicitConversion , isConditional , isPrimitiveOrStringConstant , isRequired , linkGraph , needsEmptyOperandStackForFinally , newInstance , opcode , opcode , promote , push , receiveChildren , setNextSibling , setType , substitute , toConst , toConstImpl , toString , unboxingConversion , unlinkTree , valueChanged , write , writeChildren , writeConditional , writeConditional , writeOperator
Methods inherited from class de.grogra.graph.impl.Node
addEdgeBitsTo , addReference , appendBranchNode , appendBranchNode , appendReferencesTo , clone , cloneGraph , dump , dumpTree , dup , dupFrom , dupnew , dupUnmanagedFields , edgeChanged , fieldModified , findAdjacent , findRefinementType , get , getAccessor , getAccessor , getAttributes , getAxisParent , getBoolean , getBranch , getBranchLength , getBranchNode , getBranchTail , getByte , getChar , getCommonAncestor , getCurrentGraphState , getDirectChildCount , getDouble , getEdgeAttributeAccessor , getEdgeAttributes , getEdgeBitsTo , getEdgeTo , getExtentIndex , getFirst , getFirstEdge , getFloat , getGraph , getId , getIgnored , getIndex , getInstantiator , getInt , getLayer , getLong , getManageableType , getName , getNeighbor , getNext , getNType , getObject , getOrCreateEdgeTo , getOrNull , getPersistenceManager , getPredecessor , getProvider , getResolution , getShort , getSource , getStamp , getSuccessor , getSymbol , getSymbolColor , getTarget , getTransaction , getUserField , getUserFieldCount , getXClass , getXData , hasName , initProvider , initXClass , insertBranchNode , insertBranchNode , instantiateGraph , isAncestorOf , isDirection , isEncoarseOf , isManagingInstance , isMarked , isRoot , isSource , isTarget , manageableReadResolve , manageableWriteReplace , removeAll , removeEdgeBitsTo , removeFromChain , removeFromChain , removeReference , setBranch , setBranch , setExtentIndex , setGraphForDeserialization , setIgnored , setLayer , setMark , setName , setResolution , setSuccessor , setSuccessor , specialEdgeAdded , specialEdgeRefModified , specialEdgeRemoved , writeReplace
Methods inherited from class de.grogra.graph.impl.Edge
addEdgeBits , getBitMark , getEdgeBits , getEdgeKeys , getObjectMark , getSpecialEdgeDescriptor , parseEdgeKeys , remove , removeEdgeBits , setBitMark , setEdgeBits , setObjectMark , testEdgeBits
Methods inherited from interface de.grogra.reflect.Member
getName
Method Details
getLocalForVMX
public Local getLocalForVMX ()
getRoutineField
public Field getRoutineField ()
updateParameters
public void updateParameters ()
setXFrameSize
public final void setXFrameSize (int xsize)
getFrameSize
public int getFrameSize ()
Description copied from interface: Routine
Computes the number of VMXState stack elements for the frame
of this routine. This includes the parameters, if any.
Specified by:
getFrameSize
in interface Routine
Overrides:
getFrameSize
in class MethodExpression
Returns:
the size of the frame in terms of stack elements
hasJavaParameters
public boolean hasJavaParameters ()
Description copied from interface: Routine
Determines whether this routine expects its parameters on
the Java frame or the normal frame.
Specified by:
hasJavaParameters
in interface Routine
Overrides:
hasJavaParameters
in class MethodExpression
Returns:
true
iff parameters are expected on the Java frame
getModifiers
public final int getModifiers ()
Description copied from interface: Member
Returns the modifiers of this member as a combination of
the bit masks which are defined in this interface.
Specified by:
getModifiers
in interface Member
Returns:
modifiers of this member
getModifiersEx
public final long getModifiersEx ()
setPublic
public final void setPublic ()
getDeclaringType
public final Type getDeclaringType ()
Description copied from interface: Member
Returns the declaring type of which this is a member. May be
null
if such a type does not exist.
Specified by:
getDeclaringType
in interface Member
Returns:
this member's declaring type
getSimpleName
public final String getSimpleName ()
Description copied from interface: Member
Returns the simple name of this member. This is the single
identifier with which the member is declared in source code,
e.g., Object
, out
, println
.
Specified by:
getSimpleName
in interface Member
Returns:
simple name of the member
getDescriptor
public final String getDescriptor ()
Description copied from interface: Member
Returns a descriptor for this member. Descriptors are constructed
as follows:
For types, descriptors are defined as for the Java Virtual
Machine. For primitive types these are the single characters
'Z', 'B', 'S', 'C', 'I', 'J', 'F', 'D', 'V'
for boolean
, byte
, short
,
char
, int
, long
,
float
, double
, void
.
For array types, the descriptor is the character '[' plus
the descriptor of its component type, e.g.,
[[I
for int[][]
. For non-array
reference types, the
descriptor is the character 'L', followed by the binary name
(see Type.getBinaryName()
) of the type, where '.'
has to be replaced by '/', followed by ';',
e.g., Ljava/lang/Object;
.
For fields, the descriptor is the character 'f', followed by the
simple name of the field, followed by the character ';', followed
by the descriptor of the field's type. E.g.,
fout;Ljava/io/PrintStream;
for the field System.out
.
For methods and constructors, the descriptor is the character
'm', followed by the simple name of the method (which is
<init>
for
constructors), followed by the characters ';' and '(', followed
by the descriptors of the method's parameter types, followed by
')', followed by the descriptor of the return type. E.g.
mprintln;(Ljava/lang/String;)V
for the method
PrintStream.println(String)
.
Specified by:
getDescriptor
in interface Member
Returns:
the member's descriptor
paramString
protected String paramString ()
Description copied from class: Node
Computes the class-specific part of the string returned by
Node.toString()
which shall be enclosed in brackets. This
should be used to show important properties of this node.
Overrides:
paramString
in class Expression
Returns:
string describing some important properties of this node
getGeneratorType
public static Type getGeneratorType (Method method)
getGeneratorOrReturnType
public static Type getGeneratorOrReturnType (Method method)
getConsumerType
public static Class getConsumerType (int typeId)
hasEmptyBytecode
public boolean hasEmptyBytecode ()