Package org.jruby.runtime.component
Class VariableEntry<BaseObjectType>
java.lang.Object
org.jruby.runtime.component.VariableEntry<BaseObjectType>
- All Implemented Interfaces:
Variable<BaseObjectType>
-
Field Details
-
name
-
value
-
-
Constructor Details
-
VariableEntry
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceVariable<BaseObjectType>
-
getValue
- Specified by:
getValuein interfaceVariable<BaseObjectType>
-
isClassVariable
public boolean isClassVariable()- Specified by:
isClassVariablein interfaceVariable<BaseObjectType>
-
isConstant
public boolean isConstant()- Specified by:
isConstantin interfaceVariable<BaseObjectType>
-
isInstanceVariable
public boolean isInstanceVariable()- Specified by:
isInstanceVariablein interfaceVariable<BaseObjectType>
-
isRubyVariable
public boolean isRubyVariable()Description copied from interface:VariableReturns true if the variable is an instance variable, class variable, or constant; otherwise, false.- Specified by:
isRubyVariablein interfaceVariable<BaseObjectType>- Returns:
- true if the variable is an instance variable, class variable, or constant, else false
-
toString
-