Package com.tangosol.coherence.rest.util
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
ConstructorsConstructorDescriptionClassReaderInternal
(byte[] abBytes) ClassReaderInternal
(InputStream streamIn) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept
(org.objectweb.asm.ClassReader classReader, org.objectweb.asm.ClassVisitor classVisitor, int nParsingOptions) Perform the accept operation on the module-specific ClassReaderprotected org.objectweb.asm.ClassReader
createReader
(byte[] abBytes) Create the module-specific ClassReader.Methods inherited from class com.tangosol.util.asm.BaseClassReaderInternal
accept, getMajorVersion, setMajorVersion
-
Constructor Details
-
ClassReaderInternal
- Throws:
IOException
- See Also:
-
ClassReaderInternal
public ClassReaderInternal(byte[] abBytes) - See Also:
-
-
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 classcom.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 classcom.tangosol.util.asm.BaseClassReaderInternal<org.objectweb.asm.ClassReader,
org.objectweb.asm.ClassVisitor> - Parameters:
classReader
- the module-specific ClassReaderclassVisitor
- the module-specific ClassVisitornParsingOptions
- the parsing options
-