Class PartialObject.ClassReaderInternal

java.lang.Object
com.tangosol.util.asm.BaseClassReaderInternal<org.objectweb.asm.ClassReader,org.objectweb.asm.ClassVisitor>
com.tangosol.coherence.rest.util.PartialObject.ClassReaderInternal
Enclosing class:
PartialObject

protected static final class PartialObject.ClassReaderInternal extends com.tangosol.util.asm.BaseClassReaderInternal<org.objectweb.asm.ClassReader,org.objectweb.asm.ClassVisitor>
This class wraps ASM's ClassReader allowing Coherence to bypass the class version checks performed by ASM when reading a class.
Since:
15.1.1.0
  • Field Summary

    Fields inherited from class com.tangosol.util.asm.BaseClassReaderInternal

    m_abBytes
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClassReaderInternal(byte[] abBytes)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    accept(org.objectweb.asm.ClassReader classReader, org.objectweb.asm.ClassVisitor classVisitor, int nParsingOptions)
    Perform the accept operation on the module-specific ClassReader
    protected org.objectweb.asm.ClassReader
    createReader(byte[] abBytes)
    Create the module-specific ClassReader.

    Methods inherited from class com.tangosol.util.asm.BaseClassReaderInternal

    accept, getMajorVersion, setMajorVersion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ClassReaderInternal

      public ClassReaderInternal(InputStream streamIn) throws IOException
      Throws:
      IOException
      See Also:
      • BaseClassReaderInternal(InputStream)
    • ClassReaderInternal

      public ClassReaderInternal(byte[] abBytes)
      See Also:
      • BaseClassReaderInternal(byte[])
  • Method Details

    • createReader

      protected org.objectweb.asm.ClassReader createReader(byte[] abBytes)
      Description copied from class: com.tangosol.util.asm.BaseClassReaderInternal
      Create the module-specific ClassReader.
      Specified by:
      createReader in class com.tangosol.util.asm.BaseClassReaderInternal<org.objectweb.asm.ClassReader,org.objectweb.asm.ClassVisitor>
      Parameters:
      abBytes - the class bytes
      Returns:
      the module-specific ClassReader
    • accept

      protected void accept(org.objectweb.asm.ClassReader classReader, org.objectweb.asm.ClassVisitor classVisitor, int nParsingOptions)
      Description copied from class: com.tangosol.util.asm.BaseClassReaderInternal
      Perform the accept operation on the module-specific ClassReader
      Specified by:
      accept in class com.tangosol.util.asm.BaseClassReaderInternal<org.objectweb.asm.ClassReader,org.objectweb.asm.ClassVisitor>
      Parameters:
      classReader - the module-specific ClassReader
      classVisitor - the module-specific ClassVisitor
      nParsingOptions - the parsing options