Package | Description |
---|---|
japa.parser | |
japa.parser.ast | |
japa.parser.ast.body | |
japa.parser.ast.expr | |
japa.parser.ast.stmt |
Modifier and Type | Method and Description |
---|---|
static AnnotationExpr |
JavaParser.parseAnnotation(String annotation)
Parses the Java annotation contained in a
String and returns a
AnnotationExpr that represents it. |
Modifier and Type | Method and Description |
---|---|
List<AnnotationExpr> |
PackageDeclaration.getAnnotations()
Retrieves the list of annotations declared before the package
declaration.
|
Modifier and Type | Method and Description |
---|---|
void |
PackageDeclaration.setAnnotations(List<AnnotationExpr> annotations) |
Constructor and Description |
---|
PackageDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
NameExpr name) |
PackageDeclaration(List<AnnotationExpr> annotations,
NameExpr name) |
Modifier and Type | Method and Description |
---|---|
List<AnnotationExpr> |
BaseParameter.getAnnotations() |
List<AnnotationExpr> |
BodyDeclaration.getAnnotations() |
Modifier and Type | Method and Description |
---|---|
void |
BaseParameter.setAnnotations(List<AnnotationExpr> annotations) |
void |
BodyDeclaration.setAnnotations(List<AnnotationExpr> annotations) |
Constructor and Description |
---|
AnnotationDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<BodyDeclaration> members) |
AnnotationDeclaration(int modifiers,
List<AnnotationExpr> annotations,
String name,
List<BodyDeclaration> members) |
AnnotationMemberDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
String name,
Expression defaultValue) |
AnnotationMemberDeclaration(int modifiers,
List<AnnotationExpr> annotations,
Type type,
String name,
Expression defaultValue) |
BaseParameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
VariableDeclaratorId id) |
BaseParameter(int modifiers,
List<AnnotationExpr> annotations,
VariableDeclaratorId id) |
BodyDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations) |
BodyDeclaration(List<AnnotationExpr> annotations) |
ClassOrInterfaceDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ClassOrInterfaceDeclaration(int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ConstructorDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
String name,
List<Parameter> parameters,
List<NameExpr> throws_,
BlockStmt block) |
ConstructorDeclaration(int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
String name,
List<Parameter> parameters,
List<NameExpr> throws_,
BlockStmt block) |
EnumConstantDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
String name,
List<Expression> args,
List<BodyDeclaration> classBody) |
EnumConstantDeclaration(List<AnnotationExpr> annotations,
String name,
List<Expression> args,
List<BodyDeclaration> classBody) |
EnumDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members) |
EnumDeclaration(int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members) |
FieldDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
List<VariableDeclarator> variables) |
FieldDeclaration(int modifiers,
List<AnnotationExpr> annotations,
Type type,
List<VariableDeclarator> variables) |
MethodDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
Type type,
String name,
List<Parameter> parameters,
int arrayCount,
List<NameExpr> throws_,
BlockStmt block) |
MethodDeclaration(int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
Type type,
String name,
List<Parameter> parameters,
int arrayCount,
List<NameExpr> throws_,
BlockStmt block) |
MultiTypeParameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
List<Type> types,
VariableDeclaratorId id) |
MultiTypeParameter(int modifiers,
List<AnnotationExpr> annotations,
List<Type> types,
VariableDeclaratorId id) |
Parameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
VariableDeclaratorId id) |
TypeDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
int modifiers,
String name,
List<BodyDeclaration> members) |
TypeDeclaration(List<AnnotationExpr> annotations,
int modifiers,
String name,
List<BodyDeclaration> members) |
Modifier and Type | Class and Description |
---|---|
class |
MarkerAnnotationExpr |
class |
NormalAnnotationExpr |
class |
SingleMemberAnnotationExpr |
Modifier and Type | Method and Description |
---|---|
List<AnnotationExpr> |
VariableDeclarationExpr.getAnnotations() |
Modifier and Type | Method and Description |
---|---|
void |
VariableDeclarationExpr.setAnnotations(List<AnnotationExpr> annotations) |
Constructor and Description |
---|
VariableDeclarationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
List<VariableDeclarator> vars) |
Constructor and Description |
---|
CatchClause(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
CatchClause(int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
Copyright © 2007-2017. All Rights Reserved.