Klasse UnlikelyArgumentCheck
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.ast.UnlikelyArgumentCheck
-
Feldübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic UnlikelyArgumentCheck
determineCheckForNonStaticSingleArgumentMethod
(TypeBinding argumentType, Scope scope, char[] selector, TypeBinding actualReceiverType, TypeBinding[] parameters) When targeting a well-known dangerous method, returns an UnlikelyArgumentCheck object that contains the types to check against each other and to reportstatic UnlikelyArgumentCheck
determineCheckForStaticTwoArgumentMethod
(TypeBinding secondParameter, Scope scope, char[] selector, TypeBinding firstParameter, TypeBinding[] parameters, TypeBinding actualReceiverType) boolean
isDangerous
(BlockScope currentScope) Check if the invocation is likely a bug.
-
Felddetails
-
dangerousMethod
-
typeToCheck
-
expectedType
-
typeToReport
-
-
Methodendetails
-
isDangerous
Check if the invocation is likely a bug.- Parameter:
currentScope
-- Gibt zurück:
- false, if the typeToCheck does not seem to related to the expectedType
-
determineCheckForNonStaticSingleArgumentMethod
public static UnlikelyArgumentCheck determineCheckForNonStaticSingleArgumentMethod(TypeBinding argumentType, Scope scope, char[] selector, TypeBinding actualReceiverType, TypeBinding[] parameters) When targeting a well-known dangerous method, returns an UnlikelyArgumentCheck object that contains the types to check against each other and to report -
determineCheckForStaticTwoArgumentMethod
public static UnlikelyArgumentCheck determineCheckForStaticTwoArgumentMethod(TypeBinding secondParameter, Scope scope, char[] selector, TypeBinding firstParameter, TypeBinding[] parameters, TypeBinding actualReceiverType)
-