if (gerMessageDestinationType != null) {
addMethodDestinationRef(annotatedApp, resourceName, resourceType, method, field, annotation);
return true;
} else {
//if it maps to a resource-env-ref in the geronimo plan, it's a resource-ref
GerResourceEnvRefType resourceEnvRefType = null;
if (refMap != null) {
resourceEnvRefType = refMap.get(resourceName);
}
if (resourceEnvRefType != null || resourceType.equals("javax.transaction.UserTransaction")) {
//mapped resource-env-ref