Class LazyName.Declaration
- java.lang.Object
-
- org.inferred.freebuilder.processor.source.ValueType
-
- org.inferred.freebuilder.processor.source.LazyName.Declaration
-
- All Implemented Interfaces:
java.lang.Comparable<LazyName.Declaration>,Scope.Key<LazyName>
- Enclosing class:
- LazyName
static class LazyName.Declaration extends ValueType implements java.lang.Comparable<LazyName.Declaration>, Scope.Key<LazyName>
A Declaration maps a unique static class name to its static excerpt in a scope.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.inferred.freebuilder.processor.source.ValueType
ValueType.FieldReceiver
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Constructor Description Declaration(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddFields(ValueType.FieldReceiver fields)Implement this method to report the name and value of each field.intcompareTo(LazyName.Declaration other)Scope.Levellevel()
-
-
-
Method Detail
-
level
public Scope.Level level()
-
addFields
protected void addFields(ValueType.FieldReceiver fields)
Description copied from class:ValueTypeImplement this method to report the name and value of each field.
-
compareTo
public int compareTo(LazyName.Declaration other)
- Specified by:
compareToin interfacejava.lang.Comparable<LazyName.Declaration>
-
-