MCPcopy
hub / github.com/apache/groovy / getType

Method getType

src/main/java/org/codehaus/groovy/ast/Variable.java:56–56  ·  view source on GitHub ↗

Returns the type of the variable. If the type is not yet determined, implementations may return a dynamic or placeholder type. @return the ClassNode representing this variable's type

()

Source from the content-addressed store, hash-verified

54 * @return the {@link ClassNode} representing this variable's type
55 */
56 ClassNode getType();
57
58 /**
59 * Returns the original type of this variable before any type wrapping or transformation.

Callers 15

isTraitSelfMethod · 0.95
assertFieldMethod · 0.65
checkOuterRefMethod · 0.65
checkDateWithTwoAnnosMethod · 0.65
setPropertyMethod · 0.65
getTypeMethod · 0.65
fieldInfoMethod · 0.65

Implementers 5

PropertyNodesrc/main/java/org/codehaus/groovy/ast/
Parametersrc/main/java/org/codehaus/groovy/ast/
DynamicVariablesrc/main/java/org/codehaus/groovy/ast/
FieldNodesrc/main/java/org/codehaus/groovy/ast/
VariableExpressionsrc/main/java/org/codehaus/groovy/ast/

Calls

no outgoing calls

Tested by 5

assertFieldMethod · 0.52
checkOuterRefMethod · 0.52
checkDateWithTwoAnnosMethod · 0.52