congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CgLibUtil.removeCglibEnhanced
Code IndexAdd Tabnine to your IDE (free)

How to use
removeCglibEnhanced
method
in
uk.ac.ebi.intact.persistence.util.CgLibUtil

Best Java code snippets using uk.ac.ebi.intact.persistence.util.CgLibUtil.removeCglibEnhanced (Showing top 13 results out of 315)

origin: uk.ac.ebi.intact.util/data-conversion

public CvClass2Source( Class clazz ) {
  this.clazz = CgLibUtil.removeCglibEnhanced(clazz);
  this.parentNodeName = null;
}
origin: uk.ac.ebi.intact.app/data-conversion

public CvClass2Source( Class clazz, String parentNodeName ) {
  this.clazz = CgLibUtil.removeCglibEnhanced(clazz);
  this.parentNodeName = parentNodeName;
}
origin: uk.ac.ebi.intact.util/data-conversion

public CvClass2Source( Class clazz, String parentNodeName ) {
  this.clazz = CgLibUtil.removeCglibEnhanced(clazz);
  this.parentNodeName = parentNodeName;
}
origin: uk.ac.ebi.intact.app/data-conversion

public CvClass2Source( Class clazz ) {
  this.clazz = CgLibUtil.removeCglibEnhanced(clazz);
  this.parentNodeName = null;
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public CvClass2Source( Class clazz ) {
  this.clazz = CgLibUtil.removeCglibEnhanced(clazz);
  this.parentNodeName = null;
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public CvClass2Source( Class clazz, String parentNodeName ) {
  this.clazz = CgLibUtil.removeCglibEnhanced(clazz);
  this.parentNodeName = parentNodeName;
}
origin: uk.ac.ebi.intact.core/intact-persister

  protected static String normalizeClassName(Class clazz) {
    Class realClass = CgLibUtil.removeCglibEnhanced(clazz);
    return realClass.getSimpleName();
    //return clazz.getSimpleName();
  }
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Gives the Object classname, give the real object class name if this is a VirtualProxy class
 *
 * @param obj the object for which we request the real class name.
 *
 * @return the real class name.
 */
public static <T> Class<T> getRealClassName( T obj ) {
  return removeCglibEnhanced( obj.getClass() );
}
origin: uk.ac.ebi.intact.core/intact-persister

public ReportedIntactObject(IntactObject intactObject) {
  this.ac = intactObject.getAc();
  this.objectClass = CgLibUtil.removeCglibEnhanced(intactObject.getClass());
}
origin: uk.ac.ebi.intact.core/intact-persister

public Cache cacheFor(Class<?> aoClass) {
  if (cacheMap.containsKey(aoClass)) {
    return cacheMap.get(aoClass);
  }
  String cacheName;
  if (Interactor.class.isAssignableFrom(aoClass)) {
    cacheName = Interactor.class.getName();
  } else if (CvObject.class.isAssignableFrom(aoClass)) {
    cacheName = CvObject.class.getName();
  } else {
    cacheName = CgLibUtil.removeCglibEnhanced(aoClass).getName();
  }
  Cache cache = cacheManager.getCache(cacheName);
  if (cache == null) {
    throw new RuntimeException("Cache not found: " + cacheName);
  }
  cacheMap.put(aoClass, cache);
  return cache;
}
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/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/intact-ebi-search-engine-export

protected void writeCvTerm( Writer out, CvObject cv, String indent ) throws IOException {
  String title = cvtype2name.get( CgLibUtil.removeCglibEnhanced( cv.getClass() ) );
  if ( title == null ) {
    throw new IllegalStateException( "No title has been assigned to CV type: " + cv.getClass().getName() );
  }
  String sl = cv.getShortLabel();
  String fn = escapeXml( cv.getFullName() );
  writeField( out, title, sl, indent );
  // write fullname only if different from shortlabel and not null.
  if ( !sl.equals( fn ) ) {
    if ( fn != null && fn.length() > 0 ) {
      writeField( out, title, fn, indent );
    }
  }
  String mi = getMiReference( cv );
  if ( mi != null ) {
    writeField( out, title, mi, indent );
  }
}
uk.ac.ebi.intact.persistence.utilCgLibUtilremoveCglibEnhanced

Javadoc

Gets the correct class, removing the CGLIB enhanced part. (e.g uk.ac.ebi.intact.model.CvInteraction$$EnhancerByCGLIB$$93628752 to uk.ac.ebi.intact.model.CvInteraction)

Popular methods of CgLibUtil

  • getDisplayableClassName
    From the real className of className, gets a displayable name. 1. get the real class name. 2. Remov
  • getRealClassName
    Gives the Object classname, give the real object class name if this is a VirtualProxy class

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • setContentView (Activity)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JTable (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now