@HashCodeAndEqualsPlugin.Enhance public static class ClassFileLocator.Resolution.Explicit extends Object implements ClassFileLocator.Resolution
ClassFileLocator.Resolution.Explicit, ClassFileLocator.Resolution.Illegal
Constructor and Description |
---|
Explicit(byte[] binaryRepresentation)
Creates a new explicit resolution of a given array of binary data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isResolved()
Checks if this binary representation is valid.
|
byte[] |
resolve()
Finds the data of this binary representation.
|
public Explicit(byte[] binaryRepresentation)
binaryRepresentation
- The binary data to represent. The array must not be modified.public boolean isResolved()
isResolved
in interface ClassFileLocator.Resolution
true
if this binary representation is valid.public byte[] resolve()
resolve
in interface ClassFileLocator.Resolution
Copyright © 2014–2018. All rights reserved.