edu.umd.cs.findbugs.ba

Interface XField

public interface XField extends ClassMember

Abstract representation of a field. Note that this is called "XField" to distinguish it from BCEL's Field class. Also, you can think of the "X" as expanding to "Instance" or "Static".

This interface and its implementations exist because Field objects in BCEL are awkward to deal with. They are not Comparable, it is difficult to find out what class they belong to, etc.

Method Summary
booleanisReferenceType()
Is the type of the field a reference type?
booleanisVolatile()
Is this a volatile field?

Method Detail

isReferenceType

public boolean isReferenceType()
Is the type of the field a reference type?

isVolatile

public boolean isVolatile()
Is this a volatile field?
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.