Package edu.umd.cs.findbugs.ba.jsr305
Class DirectlyRelevantTypeQualifiersDatabase
java.lang.Object
edu.umd.cs.findbugs.ba.jsr305.DirectlyRelevantTypeQualifiersDatabase
Database of type qualfiers applied directly to methods.
- Author:
- William Pugh, David Hovemeyer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn a set of all known type qualifiers.Get the directly-relevant type qualifiers applied to given method.void
setDirectlyRelevantTypeQualifiers
(MethodDescriptor methodDescriptor, Collection<TypeQualifierValue<?>> qualifiers) Set the collection of directly-relevant type qualifiers for a given method.
-
Constructor Details
-
DirectlyRelevantTypeQualifiersDatabase
public DirectlyRelevantTypeQualifiersDatabase()
-
-
Method Details
-
getDirectlyRelevantTypeQualifiers
Get the directly-relevant type qualifiers applied to given method.- Parameters:
m
- MethodDescriptor identifying a method- Returns:
- Collection of type qualifiers applied directly to that method
-
getAllKnownQualifiers
Return a set of all known type qualifiers.- Returns:
- set of all known type qualifiers
-
setDirectlyRelevantTypeQualifiers
public void setDirectlyRelevantTypeQualifiers(MethodDescriptor methodDescriptor, Collection<TypeQualifierValue<?>> qualifiers) Set the collection of directly-relevant type qualifiers for a given method.- Parameters:
methodDescriptor
- MethodDescriptor identifying a methodqualifiers
- collection of directly-relevant type qualifiers for the method
-