public class Analysis extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG_FIND_EFFECTIVE_RELEVANT_QUALIFIERS |
static boolean |
FIND_EFFECTIVE_RELEVANT_QUALIFIERS
This system property enables additional work to try to detect all
*effective* type qualifiers (direct, inherited, and default) applied to
methods and called methods.
|
Constructor and Description |
---|
Analysis() |
Modifier and Type | Method and Description |
---|---|
static void |
addKnownTypeQualifiers(HashSet<? super TypeQualifierValue<?>> result,
Collection<TypeQualifierAnnotation> applicableApplications) |
static void |
addKnownTypeQualifiersForParameters(HashSet<? super TypeQualifierValue<?>> result,
XMethod m) |
static Collection<TypeQualifierValue<?>> |
getRelevantTypeQualifiers(MethodDescriptor methodDescriptor,
CFG cfg)
Find relevant type qualifiers needing to be checked for a given method.
|
public static final boolean FIND_EFFECTIVE_RELEVANT_QUALIFIERS
public static final boolean DEBUG_FIND_EFFECTIVE_RELEVANT_QUALIFIERS
public static Collection<TypeQualifierValue<?>> getRelevantTypeQualifiers(MethodDescriptor methodDescriptor, CFG cfg) throws CheckedAnalysisException
methodDescriptor
- a methodCheckedAnalysisException
public static void addKnownTypeQualifiersForParameters(HashSet<? super TypeQualifierValue<?>> result, XMethod m)
result
- m
- public static void addKnownTypeQualifiers(HashSet<? super TypeQualifierValue<?>> result, Collection<TypeQualifierAnnotation> applicableApplications)
result
- applicableApplications
- Copyright © 2003–2015. All rights reserved.