Package ca.ubc.stat.blang.jvmmodel
Class BlangScope.BlangVariable
java.lang.Object
ca.ubc.stat.blang.jvmmodel.BlangScope.BlangVariable
- Enclosing class:
- BlangScope
public static class BlangScope.BlangVariable
extends java.lang.Object
These can be either param (boxed) or random (no boxing)
When there is no boxing, deboxed and boxed version are equal,
otherwise they differ.
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
deboxedName
org.eclipse.xtext.common.types.JvmTypeReference
deboxedType
-
Constructor Summary
Constructors Constructor Description BlangVariable(org.eclipse.xtext.common.types.JvmTypeReference deboxedType, java.lang.String deboxedName, boolean isBoxed)
-
Method Summary
Modifier and Type Method Description java.lang.String
boxedName()
org.eclipse.xtext.common.types.JvmTypeReference
boxedType(org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder _typeReferenceBuilder)
java.lang.String
deboxingInvocationString()
boolean
isParam()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
deboxedType
public final org.eclipse.xtext.common.types.JvmTypeReference deboxedType -
deboxedName
public final java.lang.String deboxedName
-
-
Constructor Details
-
BlangVariable
public BlangVariable(org.eclipse.xtext.common.types.JvmTypeReference deboxedType, java.lang.String deboxedName, boolean isBoxed)
-
-
Method Details
-
isParam
public boolean isParam() -
deboxingInvocationString
public java.lang.String deboxingInvocationString() -
boxedName
public java.lang.String boxedName() -
boxedType
public org.eclipse.xtext.common.types.JvmTypeReference boxedType(@Extension org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder _typeReferenceBuilder)
-