Top Deprecated
Jandex: Core 3.1.6

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

the declared annotation or null if not found
org.jboss.jandex.ClassInfo.classAnnotation
(DotName
the annotation name to look for
name
)

use declaredAnnotation(DotName)

Returns:

immutable list of annotations declared on this class
org.jboss.jandex.ClassInfo.classAnnotations
()

use declaredAnnotations()

Returns:

immutable list of annotation instances declared on this class, or an empty list if none
org.jboss.jandex.ClassInfo.classAnnotationsWithRepeatable
(DotName
the name of the annotation
name
,
IndexView
the index used to obtain the annotation class
index
)

use declaredAnnotationsWithRepeatable(DotName, IndexView)

Returns:

a new mock class representation
org.jboss.jandex.ClassInfo.create
(DotName
the name of this class
name
,
DotName
the name of the parent class
superName
,
short
the class attributes
flags
,
DotName[]
the interfaces this class implements
interfaces
,
Map<DotName, List<AnnotationInstance>>
the annotations on this class
annotations
,
boolean
whether this class has a no arg constructor
hasNoArgsConstructor
)

Returns:

an array of interface names implemented by this class
org.jboss.jandex.ClassInfo.interfaces
()

Returns:

the number of bytes written to the stream
org.jboss.jandex.IndexWriter.write
(Index
the index to write to the stream
index
,
byte
the index file version
version
)

Returns:

an array copy contain parameter types
org.jboss.jandex.MethodInfo.args
()

use parameterTypes()

org.jboss.jandex.Utils.ReusableBufferedDataInputStream.mark(int
the maximum limit of bytes that can be read before the mark position becomes invalid.
readlimit
)

org.jboss.jandex.Utils.ReusableBufferedInputStream.mark(int
the maximum limit of bytes that can be read before the mark position becomes invalid.
readlimit
)

Returns:

the new instance
org.jboss.jandex.WildcardType.create
(Type
the bound (lower or upper)
bound
,
boolean
true if the bound is an upper (extends) bound, false if lower (super)
isExtends
)

use createUpperBound(Type) or createLowerBound(Type) instead