Package eu.bandm.tools.lljava.absy
Class Verify.__Patterns
java.lang.Object
eu.bandm.tools.lljava.absy.Verify.__Patterns
- Enclosing class:
- Verify
Ancillary class providing Paisley compound patterns.
The methods with names
cast_[T]
simply call ReflectionPatterns.forInstancesOf(java.lang.Class, eu.bandm.tools.paisley.Pattern)
. Thus they combine a pattern which matches
some super type with a type check.The methods with names
term_[T]
get as parameters one pattern for the super class and one for
each own field and combine them to a pattern for the class T.
(The 'term(..)' methods do intentionally not include the code of the 'cast(..)' methods, because the latter is not needed when the former is used as the pattern for the superclass.)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncast_Category1
(Pattern<? super Verify.Category1> p) cast_Category2
(Pattern<? super Verify.Category2> p) cast_Double
(Pattern<? super Verify.Double> p) cast_Float
(Pattern<? super Verify.Float> p) cast_Int
(Pattern<? super Verify.Int> p) cast_Long
(Pattern<? super Verify.Long> p) cast_Null
(Pattern<? super Verify.Null> p) cast_Object
(Pattern<? super Verify.Object> p) cast_OneWord
(Pattern<? super Verify.OneWord> p) cast_Reference
(Pattern<? super Verify.Reference> p) cast_Top
(Pattern<? super Verify.Top> p) cast_TwoWord
(Pattern<? super Verify.TwoWord> p) cast_Type
(Pattern<? super Verify.Type> p) cast_Uninitialized
(Pattern<? super Verify.Uninitialized> p) cast_UninitializedNew
(Pattern<? super Verify.UninitializedNew> p) cast_UninitializedThis
(Pattern<? super Verify.UninitializedThis> p) static Pattern<Verify.Category1>
term_Category1
(Pattern<? super Verify.Type> superpattern) static Pattern<Verify.Category2>
term_Category2
(Pattern<? super Verify.Type> superpattern) static Pattern<Verify.Double>
term_Double
(Pattern<? super Verify.Category2> superpattern) static Pattern<Verify.Float>
term_Float
(Pattern<? super Verify.Category1> superpattern) static Pattern<Verify.Int>
term_Int
(Pattern<? super Verify.Category1> superpattern) static Pattern<Verify.Long>
term_Long
(Pattern<? super Verify.Category2> superpattern) static Pattern<Verify.Null>
term_Null
(Pattern<? super Verify.Category1> superpattern) static Pattern<Verify.Object>
term_Object
(Pattern<? super Verify.Category1> superpattern, Pattern<? super String> p_classname) static Pattern<Verify.OneWord>
term_OneWord
(Pattern<? super Verify.Category1> superpattern) static Pattern<Verify.Reference>
term_Reference
(Pattern<? super Verify.Category1> superpattern) static Pattern<Verify.Top>
term_Top
(Pattern<? super Verify.Type> superpattern) static Pattern<Verify.TwoWord>
term_TwoWord
(Pattern<? super Verify.Category2> superpattern) static Pattern<Verify.Type>
static Pattern<Verify.Uninitialized>
term_Uninitialized
(Pattern<? super Verify.Category1> superpattern) static Pattern<Verify.UninitializedNew>
term_UninitializedNew
(Pattern<? super Verify.Category1> superpattern, Pattern<? super LLJava.Instruction> p_offset) static Pattern<Verify.UninitializedThis>
term_UninitializedThis
(Pattern<? super Verify.Category1> superpattern)
-
Constructor Details
-
__Patterns
public __Patterns()
-
-
Method Details
-
cast_Double
-
term_Double
-
cast_OneWord
-
term_OneWord
-
cast_Category1
-
term_Category1
-
cast_Null
-
term_Null
-
cast_TwoWord
-
term_TwoWord
-
cast_Long
-
term_Long
-
cast_Top
-
term_Top
-
cast_Category2
-
term_Category2
-
cast_Object
-
term_Object
public static Pattern<Verify.Object> term_Object(Pattern<? super Verify.Category1> superpattern, Pattern<? super String> p_classname) -
cast_Type
-
term_Type
-
cast_Uninitialized
-
term_Uninitialized
public static Pattern<Verify.Uninitialized> term_Uninitialized(Pattern<? super Verify.Category1> superpattern) -
cast_Float
-
term_Float
-
cast_Reference
-
term_Reference
public static Pattern<Verify.Reference> term_Reference(Pattern<? super Verify.Category1> superpattern) -
cast_UninitializedNew
-
term_UninitializedNew
public static Pattern<Verify.UninitializedNew> term_UninitializedNew(Pattern<? super Verify.Category1> superpattern, Pattern<? super LLJava.Instruction> p_offset) -
cast_Int
-
term_Int
-
cast_UninitializedThis
-
term_UninitializedThis
public static Pattern<Verify.UninitializedThis> term_UninitializedThis(Pattern<? super Verify.Category1> superpattern)
-