Class FieldRef
java.lang.Object
io.opentelemetry.javaagent.tooling.muzzle.references.FieldRef
Represents a reference to a field used in the instrumentation advice or helper class code. Part
of a
ClassRef.
This class is used in the auto-generated InstrumentationModule#getMuzzleReferences()
method, it is not meant to be used directly by agent extension developers.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns this field's type descriptor.getFlags()Returns modifier flags of this field.getName()Returns the field name.Returns information about code locations where this field was referenced.inthashCode()booleanDenotes whether this field is declared in the class reference it is a part of.toString()
-
Method Details
-
getSources
Returns information about code locations where this field was referenced. -
getFlags
Returns modifier flags of this field. -
getName
Returns the field name. -
getDescriptor
Returns this field's type descriptor. -
isDeclared
public boolean isDeclared()Denotes whether this field is declared in the class reference it is a part of. Iffalsethen this field is just used and most likely is declared in the super class. -
equals
-
hashCode
public int hashCode() -
toString
-