OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AnnotationElement
(Results
1 - 25
of
49
) sorted by null
1
2
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/
BaseAnnotationElement.java
34
import org.jf.dexlib2.iface.
AnnotationElement
;
39
public abstract class BaseAnnotationElement implements
AnnotationElement
{
48
if (o != null && o instanceof
AnnotationElement
) {
49
AnnotationElement
other = (
AnnotationElement
)o;
57
public int compareTo(
AnnotationElement
o) {
63
public static final Comparator<
AnnotationElement
> BY_NAME = new Comparator<
AnnotationElement
>() {
65
public int compare(@Nonnull
AnnotationElement
element1, @Nonnull
AnnotationElement
element2)
[
all
...]
BaseMethodParameter.java
37
import org.jf.dexlib2.iface.
AnnotationElement
;
61
for (
AnnotationElement
annotationElement
: signatureAnnotation.getElements()) {
62
if (
annotationElement
.getName().equals("value")) {
63
EncodedValue encodedValue =
annotationElement
.getValue();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
AnnotationElementRewriter.java
35
import org.jf.dexlib2.iface.
AnnotationElement
;
40
public class AnnotationElementRewriter implements Rewriter<
AnnotationElement
> {
47
@Nonnull @Override public
AnnotationElement
rewrite(@Nonnull
AnnotationElement
annotationElement
) {
48
return new RewrittenAnnotationElement(
annotationElement
);
52
@Nonnull protected
AnnotationElement
annotationElement
;
54
public RewrittenAnnotationElement(@Nonnull
AnnotationElement
annotationElement
) {
[
all
...]
AnnotationRewriter.java
36
import org.jf.dexlib2.iface.
AnnotationElement
;
67
@Override @Nonnull public Set<? extends
AnnotationElement
> getElements() {
Rewriters.java
60
@Nonnull Rewriter<
AnnotationElement
> getAnnotationElementRewriter();
DexRewriter.java
84
private final Rewriter<
AnnotationElement
> annotationElementRewriter;
139
@Nonnull @Override public Rewriter<
AnnotationElement
> getAnnotationElementRewriter() { return annotationElementRewriter; }
EncodedValueRewriter.java
36
import org.jf.dexlib2.iface.
AnnotationElement
;
142
@Nonnull @Override public Set<? extends
AnnotationElement
> getElements() {
RewriterModule.java
96
@Nonnull public Rewriter<
AnnotationElement
> getAnnotationElementRewriter(@Nonnull Rewriters rewriters) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
AnnotationElement.java
42
public interface
AnnotationElement
extends Comparable<
AnnotationElement
> {
58
* Returns a hashcode for this
AnnotationElement
.
68
* @return The hash code value for this
AnnotationElement
73
* Compares this
AnnotationElement
to another
AnnotationElement
for equality.
75
* This
AnnotationElement
is equal to another
AnnotationElement
if all of it's "fields" are equal. That is, if
78
* @param o The object to be compared for equality with this
AnnotationElement
79
* @return true if the specified object is equal to this
AnnotationElement
[
all
...]
BasicAnnotation.java
26
@Nonnull Set<? extends
AnnotationElement
> getElements();
Annotation.java
67
@Nonnull @Override Set<? extends
AnnotationElement
> getElements();
101
* org.jf.util.CollectionUtils.compareAsSet(), using the natural ordering of
AnnotationElement
.
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
AnnotationSection.java
37
public interface AnnotationSection<StringKey, TypeKey, AnnotationKey,
AnnotationElement
, EncodedValue>
41
@Nonnull Collection<? extends
AnnotationElement
> getElements(@Nonnull AnnotationKey key);
43
@Nonnull StringKey getElementName(@Nonnull
AnnotationElement
element);
44
@Nonnull EncodedValue getElementValue(@Nonnull
AnnotationElement
element);
EncodedValueWriter.java
45
MethodRefKey extends MethodReference,
AnnotationElement
extends org.jf.dexlib2.iface.
AnnotationElement
,
52
@Nonnull private final AnnotationSection<StringKey, TypeKey, ?,
AnnotationElement
, EncodedValue> annotationSection;
60
@Nonnull AnnotationSection<StringKey, TypeKey, ?,
AnnotationElement
, EncodedValue> annotationSection) {
72
Collection<? extends
AnnotationElement
> elements) throws IOException {
77
Collection<? extends
AnnotationElement
> sortedElements = Ordering.from(BaseAnnotationElement.BY_NAME)
80
for (
AnnotationElement
element: sortedElements) {
/art/tools/dexfuzz/src/dexfuzz/rawdex/
EncodedAnnotation.java
24
public
AnnotationElement
[] elements;
31
elements = new
AnnotationElement
[size];
33
(elements[i] = new
AnnotationElement
()).read(file);
43
for (
AnnotationElement
annotationElement
: elements) {
44
annotationElement
.write(file);
55
for (
AnnotationElement
element : elements) {
AnnotationElement.java
21
public class
AnnotationElement
implements RawDexObject {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
AnnotationPool.java
35
import org.jf.dexlib2.iface.
AnnotationElement
;
43
implements AnnotationSection<CharSequence, CharSequence, Annotation,
AnnotationElement
, EncodedValue> {
53
for (
AnnotationElement
element: annotation.getElements()) {
68
@Nonnull @Override public Collection<? extends
AnnotationElement
> getElements(@Nonnull Annotation annotation) {
72
@Nonnull @Override public CharSequence getElementName(@Nonnull
AnnotationElement
annotationElement
) {
73
return
annotationElement
.getName();
76
@Nonnull @Override public EncodedValue getElementValue(@Nonnull
AnnotationElement
annotationElement
) {
77
return
annotationElement
.getValue()
[
all
...]
DexPool.java
37
import org.jf.dexlib2.iface.
AnnotationElement
;
57
EncodedValue,
AnnotationElement
, StringPool, TypePool, ProtoPool, FieldPool, MethodPool, ClassPool,
183
for (
AnnotationElement
element: annotationEncodedValue.getElements()) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
ImmutableAnnotationElement.java
36
import org.jf.dexlib2.iface.
AnnotationElement
;
61
public static ImmutableAnnotationElement of(
AnnotationElement
annotationElement
) {
62
if (
annotationElement
instanceof ImmutableAnnotationElement) {
63
return (ImmutableAnnotationElement)
annotationElement
;
66
annotationElement
.getName(),
67
annotationElement
.getValue());
75
@Nullable Iterable<? extends
AnnotationElement
> list) {
79
private static final ImmutableConverter<ImmutableAnnotationElement,
AnnotationElement
> CONVERTER =
80
new ImmutableConverter<ImmutableAnnotationElement,
AnnotationElement
>() {
[
all
...]
ImmutableAnnotation.java
37
import org.jf.dexlib2.iface.
AnnotationElement
;
52
@Nullable Collection<? extends
AnnotationElement
> elements) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/value/
AnnotationEncodedValue.java
34
import org.jf.dexlib2.iface.
AnnotationElement
;
61
@Nonnull Set<? extends
AnnotationElement
> getElements();
94
* org.jf.util.CollectionUtils.compareAsSet(), using the natural ordering of
AnnotationElement
.
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/
AnnotationEncodedValueAdaptor.java
31
import org.jf.dexlib2.iface.
AnnotationElement
;
54
@Nonnull Collection<? extends
AnnotationElement
> annotationElements,
57
for (
AnnotationElement
annotationElement
: annotationElements) {
58
writer.write(
annotationElement
.getName());
60
EncodedValueAdaptor.writeTo(writer,
annotationElement
.getValue(), containingClass);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
ImmutableAnnotationEncodedValue.java
36
import org.jf.dexlib2.iface.
AnnotationElement
;
50
@Nullable Collection<? extends
AnnotationElement
> elements) {
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DexWriterTest.java
42
import org.jf.dexlib2.iface.
AnnotationElement
;
85
List<
AnnotationElement
> dbElements = Lists.newArrayList(dbAnnotation.getElements());
126
AnnotationElement
element = Iterables.getFirst(dbAnnotation.getElements(), null);
129
List<
AnnotationElement
> dbElements = Lists.newArrayList(dbAnnotationEncodedValue.getElements());
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DexBuilder.java
42
import org.jf.dexlib2.iface.
AnnotationElement
;
267
@Nonnull Set<? extends
AnnotationElement
> elements) {
270
new Function<
AnnotationElement
, BuilderAnnotationElement>() {
272
public BuilderAnnotationElement apply(
AnnotationElement
input) {
278
@Nonnull private BuilderAnnotationElement internAnnotationElement(@Nonnull
AnnotationElement
annotationElement
) {
279
return new BuilderAnnotationElement(stringSection.internString(
annotationElement
.getName()),
280
internEncodedValue(
annotationElement
.getValue()));
/art/dexlayout/
dex_verify.h
78
bool VerifyAnnotationElement(dex_ir::
AnnotationElement
* orig,
79
dex_ir::
AnnotationElement
* output,
Completed in 259 milliseconds
1
2