Class MojoFieldVisitor
- java.lang.Object
-
- org.objectweb.asm.FieldVisitor
-
- org.apache.maven.tools.plugin.extractor.annotations.scanner.visitors.MojoFieldVisitor
-
- All Implemented Interfaces:
MojoParameterVisitor
public class MojoFieldVisitor extends org.objectweb.asm.FieldVisitor implements MojoParameterVisitor
Visitors for fields.- Since:
- 3.0
- Author:
- Olivier Lamy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,MojoAnnotationVisitor>
getAnnotationVisitorMap()
String
getClassName()
String
getFieldName()
List<String>
getTypeParameters()
boolean
isAnnotationOnMethod()
org.objectweb.asm.AnnotationVisitor
visitAnnotation(String desc, boolean visible)
-
-
-
Method Detail
-
getAnnotationVisitorMap
public Map<String,MojoAnnotationVisitor> getAnnotationVisitorMap()
- Specified by:
getAnnotationVisitorMap
in interfaceMojoParameterVisitor
-
getFieldName
public String getFieldName()
- Specified by:
getFieldName
in interfaceMojoParameterVisitor
-
getTypeParameters
public List<String> getTypeParameters()
- Specified by:
getTypeParameters
in interfaceMojoParameterVisitor
-
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
- Overrides:
visitAnnotation
in classorg.objectweb.asm.FieldVisitor
-
getClassName
public String getClassName()
- Specified by:
getClassName
in interfaceMojoParameterVisitor
-
isAnnotationOnMethod
public boolean isAnnotationOnMethod()
- Specified by:
isAnnotationOnMethod
in interfaceMojoParameterVisitor
-
-