Package com.yworks.yshrink.model
Class NodeType
- java.lang.Object
-
- com.yworks.yshrink.model.NodeType
-
public class NodeType extends java.lang.ObjectThe type Node type.
-
-
Field Summary
Fields Modifier and Type Field Description static intCLASSThe constant CLASS.static intENTRYPOINTThe constant ENTRYPOINT.static intFIELDThe constant FIELD.static intINTERFACEThe constant INTERFACE.static intMETHODThe constant METHOD.static intNEWThe constant NEW.static intOBSOLETEThe constant OBSOLETE.static intSTATICThe constant STATIC.static intSTUBThe constant STUB.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisInterfaceNode(int nodeType)Is interface node boolean.static booleanisMethodNode(int nodeType)Is method node boolean.static booleanisNewNode(int nodeType)Is new node boolean.static booleanisObsolete(int nodeType)Is obsolete boolean.static booleanisStatic(int nodeType)Is static boolean.static booleanisStubNeeded(int nodeType)Is stub needed boolean.
-
-
-
Field Detail
-
METHOD
public static final int METHOD
The constant METHOD.- See Also:
- Constant Field Values
-
FIELD
public static final int FIELD
The constant FIELD.- See Also:
- Constant Field Values
-
CLASS
public static final int CLASS
The constant CLASS.- See Also:
- Constant Field Values
-
INTERFACE
public static final int INTERFACE
The constant INTERFACE.- See Also:
- Constant Field Values
-
NEW
public static final int NEW
The constant NEW.- See Also:
- Constant Field Values
-
ENTRYPOINT
public static final int ENTRYPOINT
The constant ENTRYPOINT.- See Also:
- Constant Field Values
-
STATIC
public static final int STATIC
The constant STATIC.- See Also:
- Constant Field Values
-
OBSOLETE
public static final int OBSOLETE
The constant OBSOLETE.- See Also:
- Constant Field Values
-
STUB
public static final int STUB
The constant STUB.- See Also:
- Constant Field Values
-
-
Method Detail
-
isObsolete
public static boolean isObsolete(int nodeType)
Is obsolete boolean.- Parameters:
nodeType- the node type- Returns:
- the boolean
-
isStatic
public static boolean isStatic(int nodeType)
Is static boolean.- Parameters:
nodeType- the node type- Returns:
- the boolean
-
isStubNeeded
public static boolean isStubNeeded(int nodeType)
Is stub needed boolean.- Parameters:
nodeType- the node type- Returns:
- the boolean
-
isMethodNode
public static boolean isMethodNode(int nodeType)
Is method node boolean.- Parameters:
nodeType- the node type- Returns:
- the boolean
-
isInterfaceNode
public static boolean isInterfaceNode(int nodeType)
Is interface node boolean.- Parameters:
nodeType- the node type- Returns:
- the boolean
-
isNewNode
public static boolean isNewNode(int nodeType)
Is new node boolean.- Parameters:
nodeType- the node type- Returns:
- the boolean
-
-