if (annotation == null)
{
// If the ResourceDependency annotation is not present, the argument must be inspected for the presence
// of the ResourceDependencies annotation.
ResourceDependencies dependencies = inspected.getClass().getAnnotation(ResourceDependencies.class);
if (dependencies != null)
{
// If the ResourceDependencies annotation is present, the action described in ResourceDependencies
// must be taken.
for (ResourceDependency dependency : dependencies.value())
{
_handleAttachedResourceDependency(context, dependency);
}
}
}