private static class FieldCouldBeLocal.FieldInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private edu.umd.cs.findbugs.FieldAnnotation |
fieldAnnotation |
private boolean |
hasAnnotation |
private edu.umd.cs.findbugs.SourceLineAnnotation |
srcLineAnnotation |
Constructor and Description |
---|
FieldInfo(edu.umd.cs.findbugs.FieldAnnotation fa,
boolean hasExternalAnnotation)
creates a FieldInfo from an annotation, and assumes no source line information
|
Modifier and Type | Method and Description |
---|---|
(package private) edu.umd.cs.findbugs.FieldAnnotation |
getFieldAnnotation()
get the field annotation for this field
|
(package private) edu.umd.cs.findbugs.SourceLineAnnotation |
getSrcLineAnnotation()
get the source line annotation for the first use of this field
|
(package private) boolean |
hasAnnotation()
gets whether the field has a non java annotation
|
(package private) void |
setSrcLineAnnotation(edu.umd.cs.findbugs.SourceLineAnnotation sla)
set the source line annotation of first use for this field
|
java.lang.String |
toString() |
private final edu.umd.cs.findbugs.FieldAnnotation fieldAnnotation
private edu.umd.cs.findbugs.SourceLineAnnotation srcLineAnnotation
private final boolean hasAnnotation
FieldInfo(edu.umd.cs.findbugs.FieldAnnotation fa, boolean hasExternalAnnotation)
fa
- the field annotation for this fieldhasExternalAnnotation
- the field has a non java based annotationvoid setSrcLineAnnotation(edu.umd.cs.findbugs.SourceLineAnnotation sla)
sla
- the source line annotationedu.umd.cs.findbugs.FieldAnnotation getFieldAnnotation()
edu.umd.cs.findbugs.SourceLineAnnotation getSrcLineAnnotation()
boolean hasAnnotation()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2018 MeBigFatGuy.com. All Rights Reserved.