Top Description Fields Constructors Methods
org.jruby.ast.java_signature

public Class PrimitiveTypeNode

extends TypeNode
Class Inheritance

For Java primitive types: byte, short, int, long, char, float, double, boolean, void

Field Summary

Modifier and TypeField and Description
public static final PrimitiveTypeNode
public static final PrimitiveTypeNode
public static final PrimitiveTypeNode
public static final PrimitiveTypeNode
public static final PrimitiveTypeNode
public static final PrimitiveTypeNode
public static final PrimitiveTypeNode
public static final PrimitiveTypeNode
public static final PrimitiveTypeNode
private final String
Inherited from org.jruby.ast.java_signature.TypeNode:
name

Constructor Summary

AccessConstructor and Description
protected
PrimitiveTypeNode(String name, String wrapperName)

Method Summary

Modifier and TypeMethod and Description
public String
getWrapperName()

Overrides org.jruby.ast.java_signature.TypeNode.getWrapperName.

Get the boxed or wrapper class name of the type.

public boolean
public boolean
Inherited from org.jruby.ast.java_signature.TypeNode:
acceptequalsgetFullyTypedNamegetNamehashCodeisArrayisTypedtoString

Field Detail

BOOLEANback to summary
public static final PrimitiveTypeNode BOOLEAN
BYTEback to summary
public static final PrimitiveTypeNode BYTE
CHARback to summary
public static final PrimitiveTypeNode CHAR
DOUBLEback to summary
public static final PrimitiveTypeNode DOUBLE
FLOATback to summary
public static final PrimitiveTypeNode FLOAT
INTback to summary
public static final PrimitiveTypeNode INT
LONGback to summary
public static final PrimitiveTypeNode LONG
SHORTback to summary
public static final PrimitiveTypeNode SHORT
VOIDback to summary
public static final PrimitiveTypeNode VOID
wrapperNameback to summary
private final String wrapperName

Constructor Detail

PrimitiveTypeNodeback to summary
protected PrimitiveTypeNode(String name, String wrapperName)

Method Detail

getWrapperNameback to summary
public String getWrapperName()

Overrides org.jruby.ast.java_signature.TypeNode.getWrapperName.

Doc from org.jruby.ast.java_signature.TypeNode.getWrapperName.

Get the boxed or wrapper class name of the type.

Note

this will only return something different for primitive types.

Annotations
@Override
isPrimitiveback to summary
public boolean isPrimitive()

Overrides org.jruby.ast.java_signature.TypeNode.isPrimitive.

Annotations
@Override
isVoidback to summary
public boolean isVoid()

Overrides org.jruby.ast.java_signature.TypeNode.isVoid.

Annotations
@Override