Package wyvern.tools.types.extensions

Examples of wyvern.tools.types.extensions.MetadataWrapper


      }
      throw new RuntimeException("Cannot find "+typeName +" in environment "+env);
    }
    TypeBinding typeBinding = env.lookupType(typeName);
    if (typeBinding.getMetadata().isPresent() && typeBinding.getMetadata().get().get() != null)
      return new MetadataWrapper(typeBinding.getUse(), typeBinding.getMetadata().get());
    else
      return typeBinding.getUse();
  }
View Full Code Here

TOP

Related Classes of wyvern.tools.types.extensions.MetadataWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.