Class BinaryStubData.NameLiteralValue
java.lang.Object
org.checkerframework.framework.stub.BinaryStubData.NameLiteralValue
- Enclosing class:
BinaryStubData
A simple name that refers to a constant, written
'n'. It is resolved where the stub
file is read, by AnnotationConstants.findConstant: among the fields of the enclosing
class and the classes that enclose it, then among the static fields of candidateClasses.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNameLiteralValue(String name, List<String> candidateClasses) Constructs a NameLiteralValue. -
Method Summary
-
Field Details
-
name
The simple name of the referenced constant. -
candidateClasses
The fully-qualified names of the classes that the stub file's static imports can importnamefrom, in the order they are searched.
-
-
Constructor Details
-
NameLiteralValue
Constructs a NameLiteralValue.- Parameters:
name- the simple name of the referenced constantcandidateClasses- the classes that the stub file's static imports can importnamefrom, in the order they are searched
-
-
Method Details