org.jruby.ast.java_signature
Class PrimitiveTypeNode
java.lang.Object
org.jruby.ast.java_signature.TypeNode
org.jruby.ast.java_signature.PrimitiveTypeNode
public class PrimitiveTypeNode
- extends TypeNode
For Java primitive types: byte, short, int, long, char, float, double, boolean, void
Fields inherited from class org.jruby.ast.java_signature.TypeNode |
name |
Constructor Summary |
protected |
PrimitiveTypeNode(java.lang.String name,
java.lang.String wrapperName)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BYTE
public static final PrimitiveTypeNode BYTE
SHORT
public static final PrimitiveTypeNode SHORT
INT
public static final PrimitiveTypeNode INT
LONG
public static final PrimitiveTypeNode LONG
CHAR
public static final PrimitiveTypeNode CHAR
FLOAT
public static final PrimitiveTypeNode FLOAT
DOUBLE
public static final PrimitiveTypeNode DOUBLE
BOOLEAN
public static final PrimitiveTypeNode BOOLEAN
VOID
public static final PrimitiveTypeNode VOID
PrimitiveTypeNode
protected PrimitiveTypeNode(java.lang.String name,
java.lang.String wrapperName)
isPrimitive
public boolean isPrimitive()
- Overrides:
isPrimitive
in class TypeNode
isVoid
public boolean isVoid()
- Overrides:
isVoid
in class TypeNode
getWrapperName
public java.lang.String getWrapperName()
- Description copied from class:
TypeNode
- Get the boxed or wrapper class name of the type. Note: this
will only return something different for primitive types.
- Overrides:
getWrapperName
in class TypeNode
Copyright © 2002-2009 JRuby Team. All Rights Reserved.