| Modifier and Type | Field and Description |
|---|---|
| pack-priv final DocTrees | |
| pack-priv final Elements | |
| pack-priv static final Pattern | |
| private static final Pattern | |
| pack-priv final Types |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | Returns: true when the checked element is an examplethe elt to check elt)Check the element is an example or not. |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv Predicate | Returns: the matcherthe parameter type names parameterSignature)Return a matcher for parameters, given the parameter type signature of an executable element. |
| pack-priv String | Returns: the sourcethe element to load elt)Read the source code of the provided element, this returns the source of the entire related compilation unit. |
| public Element | |
| pack-priv static String | Returns: the string representationthe type mirror mirror)Compute the string representation of a type mirror. |
| pack-priv static void | toString(TypeMirror
the type mirror mirror, StringBuilder the buffer appended with the string representation buffer)Compute the string representation of a type mirror. |
| docTrees | back to summary |
|---|---|
| pack-priv final DocTrees docTrees | |
| elementUtils | back to summary |
|---|---|
| pack-priv final Elements elementUtils | |
| LANG_PATTERN | back to summary |
|---|---|
| pack-priv static final Pattern LANG_PATTERN | |
| P | back to summary |
|---|---|
| private static final Pattern P | |
| typeUtils | back to summary |
|---|---|
| pack-priv final Types typeUtils | |
| Helper | back to summary |
|---|---|
| public Helper(ProcessingEnvironment env) | |
| hasToBeTranslated | back to summary |
|---|---|
| pack-priv boolean hasToBeTranslated(Element elt) Check the element is an example or not.
| |
| isExample | back to summary |
|---|---|
| pack-priv boolean isExample(Element elt) Check the element is an example or not.
| |
| matchesConstructor | back to summary |
|---|---|
| pack-priv boolean matchesConstructor(Element elt, String memberName, Predicate<ExecutableElement> parametersMatcher) | |
| matchesFieldOrEnumConstant | back to summary |
|---|---|
| pack-priv boolean matchesFieldOrEnumConstant(Element elt, String memberName) | |
| matchesMethod | back to summary |
|---|---|
| pack-priv boolean matchesMethod(Element elt, String memberName, Predicate<ExecutableElement> parametersMatcher) | |
| parametersMatcher | back to summary |
|---|---|
| pack-priv Predicate Return a matcher for parameters, given the parameter type signature of an executable element. The parameter signature
is a list of parameter types formatted as a signature, i.e all types are raw, or primitive, or arrays. Unqualified
types are resolved against the import of the specified
| |
| readSource | back to summary |
|---|---|
| pack-priv String readSource(Element elt) Read the source code of the provided element, this returns the source of the entire related compilation unit. | |
| resolveLink | back to summary |
|---|---|
| public Element resolveLink(String signature) | |
| toString | back to summary |
|---|---|
| pack-priv static String toString(TypeMirror mirror) Compute the string representation of a type mirror.
| |
| toString | back to summary |
|---|---|
| pack-priv static void toString(TypeMirror mirror, StringBuilder buffer) Compute the string representation of a type mirror.
| |