public class SyntheticArrays extends Object
| Constructor and Description |
|---|
SyntheticArrays() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isArrayClone(AnnotatedTypeMirror type,
Element elem) |
static AnnotatedTypeMirror.AnnotatedExecutableType |
replaceReturnType(Element methodElem,
AnnotatedTypeMirror.AnnotatedArrayType newReturnType) |
public static boolean isArrayClone(AnnotatedTypeMirror type, Element elem)
type - A type with a method/field of elemelem - An element which is a member of typepublic static AnnotatedTypeMirror.AnnotatedExecutableType replaceReturnType(Element methodElem, AnnotatedTypeMirror.AnnotatedArrayType newReturnType)
methodElem - identifies a method that should have an AnnotatedArrayType as its return typenewReturnType - identifies a type that should replace methodElem's return type