|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Types | |
com.lonniepryor.blues.cfg | Defines the semantics of configuring a Blues application. |
com.lonniepryor.blues.util | Common utility classes used throughout the Blues Framework. |
Uses of Types in com.lonniepryor.blues.cfg |
Fields in com.lonniepryor.blues.cfg declared as Types | |
static Types |
ServiceCfg.validServiceTypes
A specification satisfied by non-final JavaBeans. |
static Types |
AdviceCfg.validAdviceTypes
A specification satisfied by JavaBeans that implement an advice interface. |
static Types |
SingletonCfg.validSingletonTypes
A specification satisfied by classes or interfaces. |
static Types |
SingletonCfg.validImplementationTypes
A specification satisfied by JavaBeans. |
Uses of Types in com.lonniepryor.blues.util |
Methods in com.lonniepryor.blues.util that return Types | |
static Types |
Types.voids()
Returns a specification matching the void type. |
static Types |
Types.primitives()
Returns a specification matching primitive types. |
static Types |
Types.arrays()
Returns a specification matching array types. |
static Types |
Types.interfaces()
Returns a specification matching interface types. |
static Types |
Types.classes()
Returns a specification matching class types. |
static Types |
Types.declaredPublic()
Returns a specification matching public types. |
static Types |
Types.declaredProtected()
Returns a specification matching protected types. |
static Types |
Types.declaredPrivate()
Returns a specification matching private types. |
static Types |
Types.declaredPackageProtected()
Returns a specification matching package protected types. |
static Types |
Types.declaredAbstract()
Returns a specification matching abstract types. |
static Types |
Types.declaredConcrete()
Returns a specification matching concrete types. |
static Types |
Types.declaredFinal()
Returns a specification matching final types. |
static Types |
Types.declaredStatic()
Returns a specification matching static types. |
static Types |
Types.withAPublicNoArgCtor()
Returns a specification matching classes with a public , no-arguments constructor. |
static Types |
Types.javaBeans()
Returns a specification matching public classes that are valid JavaBeans. |
static Types |
Types.equalTo(java.lang.Class toTest)
Creates a new specification satisfied by Types equal to the supplied Class. |
static Types |
Types.declaredOn(Types specification)
Creates a new specification satisfied only by Types declared on the Types that satisfy the supplied specification. |
static Types |
Types.named(java.lang.String namePattern)
Parses a pattern consisting of a dot-delimeted type name pattern. |
static Types |
Types.named(Strings specification)
Creates a new specification satisfied by Types whose names match the supplied pattern. |
static Types |
Types.arraysOf(Types specification)
Creates a new specification satisfied by array types whose component type matches the supplied specification. |
static Types |
Types.assignableFrom(java.lang.Class toTest)
Creates a new specification satisfied by Types that are assignable from the supplied Class. |
static Types |
Types.assignableTo(java.lang.Class toTest)
Creates a new specification satisfied by Types that are assignable to the supplied Class. |
static Types |
Types.inheritingFrom(Types specification)
Creates a new specification satisfied by Types that inherit from any Class that is satisfied by the supplied specification. |
static Types |
Types.withAField(Fields specification)
Creates a new specification satisfied by Types that have at least one field matching the supplied specification. |
static Types |
Types.withADeclaredField(Fields specification)
Creates a new specification satisfied by Types that have at least one declared field matching the supplied specification. |
static Types |
Types.withAllFields(Fields specification)
Creates a new specification satisfied by Types that have all fields matching the supplied specification. |
static Types |
Types.withAllDeclaredConstructors(Fields specification)
Creates a new specification satisfied by Types that have all declared fields matching the supplied specification. |
static Types |
Types.withAConstructor(Constructors specification)
Creates a new specification satisfied by Types that have at least one constructor matching the supplied specification. |
static Types |
Types.withADeclaredConstructor(Constructors specification)
Creates a new specification satisfied by Types that have at least one declared constructor matching the supplied specification. |
static Types |
Types.withAllConstructors(Constructors specification)
Creates a new specification satisfied by Types that have all constructors matching the supplied specification. |
static Types |
Types.withAllDeclaredConstructors(Constructors specification)
Creates a new specification satisfied by Types that have all declared constructors matching the supplied specification. |
static Types |
Types.withAMethod(Methods specification)
Creates a new specification satisfied by Types that have at least one method matching the supplied specification. |
static Types |
Types.withADeclaredMethod(Methods specification)
Creates a new specification satisfied by Types that have at least one declared method matching the supplied specification. |
static Types |
Types.withAllMethods(Methods specification)
Creates a new specification satisfied by Types that have all methods matching the supplied specification. |
static Types |
Types.withAllDeclaredMethods(Methods specification)
Creates a new specification satisfied by Types that have all declared methods matching the supplied specification. |
static Types |
Types.parse(java.lang.String classPattern)
Parses a pattern consisting of a dot-delimeted class name optionally followed by a '+' to match all subclasses, then a '[]' to match arrays. |
static Types |
Types.parseExpression(java.lang.String classPatternExpr)
Parses a logical expression as described in the Expression class, using this class's parse() method for creating values. |
Types |
Types.and(Types specification)
Returns a specification representing a logical AND of this specification on the left and the supplied specification on the right. |
Types |
Types.or(Types specification)
Returns a specification representing a logical OR of this specification on the left and the supplied specification on the right. |
Types |
Types.not()
Returns a specification representing a logical NOT of this specification. |
Methods in com.lonniepryor.blues.util with parameters of type Types | |
static Methods |
Methods.declaredOn(Types specification)
Creates a new specification satisfied only by Methods hosted on classes that satisfy the supplied specification. |
static Methods |
Methods.returning(Types specification)
Creates a new specification satisfied only by Methods that return Types that satisfy the supplied specification. |
static Throwables |
Throwables.containing(Types specification)
Returns a specification matching any throwable set containing an element that satisfies the supplied specification. |
static Parameters |
Parameters.withElement(Types specification)
Creates a new specification satified by Class arrays with one element that satisifies the supplied specification. |
static Parameters |
Parameters.withElements(Types[] specifications)
Creates a new specification satified by Class arrays with elements that satisify the supplied specifications, in order. |
static Parameters.Builder |
Parameters.startingWithElement(Types specification)
Returns a Builder whose resulting Parameters specification will require the supplied inital element. |
static Parameters.Builder |
Parameters.startingWithElements(Types[] specifications)
Returns a Builder whose resulting Parameters specification will require the supplied inital elements. |
Parameters.Builder |
Parameters.Builder.followedByElement(Types specification)
Returns a Builder whose resulting Parameters specification will require the supplied element at this point in the sequence. |
Parameters.Builder |
Parameters.Builder.followedByElements(Types[] specifications)
Returns a Builder whose resulting Parameters specification will require the supplied elements at this point in the sequence. |
Parameters |
Parameters.Builder.endingWithElement(Types specification)
Returns a Parameters specification that will require the supplied element at the end of the sequence. |
Parameters |
Parameters.Builder.endingWithElements(Types[] specifications)
Returns a Parameters specification that will require the supplied elements at the end of the sequence. |
static Constructors |
Constructors.declaredOn(Types specification)
Creates a new specification satisfied only by Constructors hosted on the Types that satisfy the supplied specification. |
static Fields |
Fields.declaredOn(Types specification)
Creates a new specification satisfied only by Fields declared on the Types that satisfy the supplied specification. |
static Fields |
Fields.ofType(Types specification)
Creates a new specification satisfied by Fields whose type satisfy the supplied specification. |
static Types |
Types.declaredOn(Types specification)
Creates a new specification satisfied only by Types declared on the Types that satisfy the supplied specification. |
static Types |
Types.arraysOf(Types specification)
Creates a new specification satisfied by array types whose component type matches the supplied specification. |
static Types |
Types.inheritingFrom(Types specification)
Creates a new specification satisfied by Types that inherit from any Class that is satisfied by the supplied specification. |
Types |
Types.and(Types specification)
Returns a specification representing a logical AND of this specification on the left and the supplied specification on the right. |
Types |
Types.or(Types specification)
Returns a specification representing a logical OR of this specification on the left and the supplied specification on the right. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |