@Documented @Target(value={}) @Retention(value=RUNTIME) @MirroredAnnotation public @interface Resource
value() as a
resource location, and use the current thread classloader to get that resource.
The type() method is used to specify what kind of resource is being included;
allowing a compiler service to know how it should be interpretting the annotation value.
This annotation is only meant to be used as values for other annotations, and its implementation is dependent on the compiler class using it.
The use of the qualifier() method is strictly implementation dependent;
it is used when the default Resource.ResourceTypes are not enough to fully describe
how to treat the given dependency.
public abstract String value
public abstract Resource.ResourceType type
public abstract String qualifier
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.