Codota Logo
AnnotatedObjectUtils.getParameterizedType
Code IndexAdd Codota to your IDE (free)

How to use
getParameterizedType
method
in
uk.ac.ebi.intact.model.util.AnnotatedObjectUtils

Best Java code snippets using uk.ac.ebi.intact.model.util.AnnotatedObjectUtils.getParameterizedType (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Gets the generic Xref type for an AnnotatedObject class
 * @param clazz an AnnotatedObject class
 * @return the Xref type used in the class
 */
public static Class<? extends Xref> getXrefClassType(Class<? extends AnnotatedObject> clazz)  {
  clazz = CgLibUtil.removeCglibEnhanced(clazz);
  
  PropertyDescriptor propDesc = null;
  try {
    propDesc = new PropertyDescriptor("xrefs", clazz);
  } catch (IntrospectionException e) {
    e.printStackTrace();
  }
  Method method = propDesc.getReadMethod();
  return getParameterizedType(method.getGenericReturnType());
}
origin: uk.ac.ebi.intact.core/intact-core

/**
 * Gets the generic Xref type for an AnnotatedObject class
 *
 * @param clazz an AnnotatedObject class
 * @return the Xref type used in the class
 */
public static Class<? extends Xref> getXrefClassType(Class<? extends AnnotatedObject> clazz) {
  clazz = CgLibUtil.removeCglibEnhanced(clazz);
  PropertyDescriptor propDesc = null;
  try {
    propDesc = new PropertyDescriptor("xrefs", clazz);
  } catch (IntrospectionException e) {
    e.printStackTrace();
  }
  Method method = propDesc.getReadMethod();
  return getParameterizedType(method.getGenericReturnType());
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Gets the generic Xref type for an AnnotatedObject class
 *
 * @param clazz an AnnotatedObject class
 * @return the Xref type used in the class
 * @since 1.6.1
 */
public static Class<? extends Alias> getAliasClassType(Class<? extends AnnotatedObject> clazz) {
  clazz = CgLibUtil.removeCglibEnhanced(clazz);
  PropertyDescriptor propDesc = null;
  try {
    propDesc = new PropertyDescriptor("aliases", clazz);
  } catch (IntrospectionException e) {
    e.printStackTrace();
  }
  Method method = propDesc.getReadMethod();
  return getParameterizedType(method.getGenericReturnType());
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Gets the generic Xref type for an AnnotatedObject class
 *
 * @param clazz an AnnotatedObject class
 * @return the Xref type used in the class
 */
public static Class<? extends Xref> getXrefClassType(Class<? extends AnnotatedObject> clazz) {
  clazz = CgLibUtil.removeCglibEnhanced(clazz);
  PropertyDescriptor propDesc = null;
  try {
    propDesc = new PropertyDescriptor("xrefs", clazz);
  } catch (IntrospectionException e) {
    e.printStackTrace();
  }
  Method method = propDesc.getReadMethod();
  return getParameterizedType(method.getGenericReturnType());
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Gets the generic Xref type for an AnnotatedObject class
 * @param clazz an AnnotatedObject class
 * @return the Xref type used in the class
 *
 * @since 1.6.1
 */
public static Class<? extends Alias> getAliasClassType(Class<? extends AnnotatedObject> clazz)  {
  clazz = CgLibUtil.removeCglibEnhanced(clazz);
  PropertyDescriptor propDesc = null;
  try {
    propDesc = new PropertyDescriptor("aliases", clazz);
  } catch (IntrospectionException e) {
    e.printStackTrace();
  }
  Method method = propDesc.getReadMethod();
  return getParameterizedType(method.getGenericReturnType());
}
origin: uk.ac.ebi.intact.core/intact-core

/**
 * Gets the generic Xref type for an AnnotatedObject class
 *
 * @param clazz an AnnotatedObject class
 * @return the Xref type used in the class
 * @since 1.6.1
 */
public static Class<? extends Alias> getAliasClassType(Class<? extends AnnotatedObject> clazz) {
  clazz = CgLibUtil.removeCglibEnhanced(clazz);
  PropertyDescriptor propDesc = null;
  try {
    propDesc = new PropertyDescriptor("aliases", clazz);
  } catch (IntrospectionException e) {
    e.printStackTrace();
  }
  Method method = propDesc.getReadMethod();
  return getParameterizedType(method.getGenericReturnType());
}
uk.ac.ebi.intact.model.utilAnnotatedObjectUtilsgetParameterizedType

Popular methods of AnnotatedObjectUtils

  • getAliasClassType
    Gets the generic Xref type for an AnnotatedObject class
  • getXrefClassType
    Gets the generic Xref type for an AnnotatedObject class
  • findAnnotationByTopicMiOrLabel
    Finds an Annotations with a topic that has an MI or label equal to the value provided
  • prepareShortLabel
    Trims a shortlabel if it is too long to be inserted in the database.
  • searchXrefs
    Retrieve the xrefs from an annotated object that comply with the filter.
  • areCollectionEqual
    Method to compare Annotation, Xref and Aliases collections
  • containSameAliases
  • containSameAnnotations
  • containSameCollections
    Checks if two given annotated objects contain the same set of annotations, xrefs and aliases
  • containSameXrefs
  • containTheSameXrefs
    Check if the passed annotated objects contain the same set of filtered Xrefs.
  • createUniqueString
    Creates unique strings for Annotations,Xrefs and aliases.
  • containTheSameXrefs,
  • createUniqueString,
  • findParent,
  • isChildrenInitialized,
  • isCvTopicPublic,
  • isNewOrManaged,
  • removeChild,
  • searchXrefsByDatabase,
  • searchXrefsByQualifier

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • startActivity (Activity)
  • Menu (java.awt)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now