Class AnnotationSource
java.lang.Object
org.inferred.freebuilder.processor.source.AnnotationSource
Static methods for annotation-related source-code generation.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddSource(SourceBuilder code, AnnotationMirror annotation) Adds a source-code representation ofannotationto .private static booleanhasSingleValueWithDefaultKey(AnnotationMirror annotation) Returns true ifannotationhas a single element named "value", letting us drop the 'value=' prefix in the source code.
-
Constructor Details
-
AnnotationSource
private AnnotationSource()
-
-
Method Details
-
addSource
Adds a source-code representation ofannotationto . -
hasSingleValueWithDefaultKey
Returns true ifannotationhas a single element named "value", letting us drop the 'value=' prefix in the source code.
-