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

How to use
checkTypeParameters
method
in
org.objectweb.asm.util.CheckClassAdapter

Best Java code snippets using org.objectweb.asm.util.CheckClassAdapter.checkTypeParameters (Showing top 4 results out of 315)

origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

/**
 * Checks a class signature.
 *
 * @param signature a string containing the signature that must be checked.
 */
public static void checkClassSignature(final String signature) {
 // From https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.9.1:
 // ClassSignature:
 //   [TypeParameters] SuperclassSignature SuperinterfaceSignature*
 // SuperclassSignature:
 //   ClassTypeSignature
 // SuperinterfaceSignature:
 //   ClassTypeSignature
 int pos = 0;
 if (getChar(signature, 0) == '<') {
  pos = checkTypeParameters(signature, pos);
 }
 pos = checkClassTypeSignature(signature, pos);
 while (getChar(signature, pos) == 'L') {
  pos = checkClassTypeSignature(signature, pos);
 }
 if (pos != signature.length()) {
  throw new IllegalArgumentException(signature + ERROR_AT + pos);
 }
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension

/**
 * Checks a class signature.
 *
 * @param signature a string containing the signature that must be checked.
 */
public static void checkClassSignature(final String signature) {
 // From https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.9.1:
 // ClassSignature:
 //   [TypeParameters] SuperclassSignature SuperinterfaceSignature*
 // SuperclassSignature:
 //   ClassTypeSignature
 // SuperinterfaceSignature:
 //   ClassTypeSignature
 int pos = 0;
 if (getChar(signature, 0) == '<') {
  pos = checkTypeParameters(signature, pos);
 }
 pos = checkClassTypeSignature(signature, pos);
 while (getChar(signature, pos) == 'L') {
  pos = checkClassTypeSignature(signature, pos);
 }
 if (pos != signature.length()) {
  throw new IllegalArgumentException(signature + ERROR_AT + pos);
 }
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension

pos = checkTypeParameters(signature, pos);
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

pos = checkTypeParameters(signature, pos);
org.objectweb.asm.utilCheckClassAdaptercheckTypeParameters

Javadoc

Checks the type parameters of a class or method signature.

Popular methods of CheckClassAdapter

  • <init>
    Constructs a new CheckClassAdapter. Subclasses must not use this constructor. Instead, they must use
  • verify
    Checks the given class.
  • visitEnd
  • checkAccess
    Checks that the given access flags do not contain invalid flags. This method also checks that mutual
  • checkChar
    Checks a single character.
  • checkClassSignature
    Checks a class signature.
  • checkClassTypeSignature
    Checks a class type signature.
  • checkFieldSignature
    Checks a field signature.
  • checkMethodSignature
    Checks a method signature.
  • checkState
    Checks that the visit method has been called and that visitEnd has not been called.
  • checkTypeArgument
    Checks a type argument in a class type signature.
  • checkTypeArguments
    Checks the type arguments in a class type signature.
  • checkTypeArgument,
  • checkTypeArguments,
  • checkTypeVariableSignature,
  • getChar,
  • printAnalyzerResult,
  • visit,
  • visitMethod,
  • checkFullyQualifiedName,
  • checkJavaTypeSignature,
  • checkReferenceTypeSignature

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Top plugins for WebStorm
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