public class TypeDeclaration extends Object implements Annotatable
CompilationUnit.| Constructor and Description |
|---|
TypeDeclaration(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(Annotation annotation) |
void |
extend(String name) |
List<Annotation> |
getAnnotations() |
String |
getExtends() |
String |
getName() |
public TypeDeclaration(String name)
public void extend(String name)
public void annotate(Annotation annotation)
annotate in interface Annotatablepublic List<Annotation> getAnnotations()
getAnnotations in interface Annotatablepublic String getName()
public String getExtends()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.