edu.umd.cs.findbugs.classfile

Class FieldOrMethodDescriptor

public abstract class FieldOrMethodDescriptor extends Object

Common superclass for FieldDescriptor and MethodDescriptor.

Author: David Hovemeyer

Constructor Summary
FieldOrMethodDescriptor(String className, String name, String signature, boolean isStatic)
Method Summary
protected intcompareTo(FieldOrMethodDescriptor o)
StringgetClassName()
StringgetName()
StringgetSignature()
booleanisStatic()

Constructor Detail

FieldOrMethodDescriptor

public FieldOrMethodDescriptor(String className, String name, String signature, boolean isStatic)

Method Detail

compareTo

protected int compareTo(FieldOrMethodDescriptor o)

getClassName

public String getClassName()

Returns: Returns the class name

getName

public String getName()

Returns: Returns the method name

getSignature

public String getSignature()

Returns: Returns the method signature

isStatic

public boolean isStatic()

Returns: Returns true if method is static, false if not

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.