Tabnine Logo
Signature.loadClass
Code IndexAdd Tabnine to your IDE (free)

How to use
loadClass
method
in
org.jboss.metadata.spi.signature.Signature

Best Java code snippets using org.jboss.metadata.spi.signature.Signature.loadClass (Showing top 4 results out of 315)

origin: org.jboss.microcontainer/jboss-container

/**
* Convert classes to string
* 
* @param cl the classloader
* @param parameters the parameters as strings
* @return the parameters as classes
*/
private static Class<?>[] stringsToClasses(ClassLoader cl, String... parameters)
{
 if (cl == null)
   throw new IllegalArgumentException("Null classloader");
 if (parameters == null || parameters.length == 0)
   return NO_PARAMETER_TYPES;
 Class<?>[] result = new Class[parameters.length];
 for (int i = 0; i < result.length; ++i)
 {
   try
   {
    result[i] = loadClass(cl, parameters[i]);
   }
   catch (ClassNotFoundException e)
   {
    throw new IllegalStateException("Class not found: " + parameters[i], e);
   }
 }
 return result;
}
origin: org.jboss/jboss-mdr

/**
* Convert classes to string
* 
* @param cl the classloader
* @param parameters the parameters as strings
* @return the parameters as classes
*/
private static Class<?>[] stringsToClasses(ClassLoader cl, String... parameters)
{
 if (cl == null)
   throw new IllegalArgumentException("Null classloader");
 if (parameters == null || parameters.length == 0)
   return NO_PARAMETER_TYPES;
 Class<?>[] result = new Class[parameters.length];
 for (int i = 0; i < result.length; ++i)
 {
   try
   {
    result[i] = loadClass(cl, parameters[i]);
   }
   catch (ClassNotFoundException e)
   {
    throw new IllegalStateException("Class not found: " + parameters[i], e);
   }
 }
 return result;
}
origin: org.jboss.microcontainer/jboss-container

componentType = loadClass(cl, arrayType);
origin: org.jboss/jboss-mdr

componentType = loadClass(cl, arrayType);
org.jboss.metadata.spi.signatureSignatureloadClass

Javadoc

Loads a class by name. TODO A similar method exists in org.jboss.util.Classes ...

Popular methods of Signature

  • getSignature
    Get a signature for a member info
  • getName
    Returns the name.
  • getParametersTypes
    Returns the parameter types.
  • classesToStrings
    Convert classes to string
  • equals
  • internalToString
    Build the to String
  • stringsToClasses
    Convert classes to string
  • toString
  • convertParameterTypes
  • convertParameters
  • getParameterTypes
    Get the parameter types (for override by sub-classes)
  • getParameters
    Returns the parameters.
  • getParameterTypes,
  • getParameters,
  • getPrimativeArrayType,
  • hashCode

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JOptionPane (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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