Searched refs:method (Results 1 - 25 of 353) sorted by path

1234567891011>>

/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DBlockAddresses.java27 * the blocks of a particular method. Each block has a corresponding
47 * @param method {@code non-null;} the method to have block addresses for
49 public BlockAddresses(RopMethod method) { argument
50 BasicBlockList blocks = method.getBlocks();
57 setupArrays(method);
126 private void setupArrays(RopMethod method) { argument
127 BasicBlockList blocks = method.getBlocks();
H A DRopTranslator.java46 * #translate} method is the thing to call on this class.
49 /** {@code non-null;} method to translate */
50 private final RopMethod method; field in class:RopTranslator
61 /** {@code non-null;} container for all the address objects for the method */
70 /** {@code >= 0;} register count for the method */
76 /** size, in register units, of all the parameters to this method */
80 * true if the parameters to this method happen to be in proper order
89 * @param method {@code non-null;} the original method
94 * this method
97 translate(RopMethod method, int positionInfo, LocalVariableInfo locals, int paramSize) argument
115 RopTranslator(RopMethod method, int positionInfo, LocalVariableInfo locals, int paramSize) argument
173 calculateParamsAreInOrder(RopMethod method, final int paramSize) argument
[all...]
H A DStdCatchBuilder.java38 /** {@code non-null;} method to build the list for */
39 private final RopMethod method; field in class:StdCatchBuilder
51 * @param method {@code non-null;} method to build the list for
55 public StdCatchBuilder(RopMethod method, int[] order, argument
57 if (method == null) {
58 throw new NullPointerException("method == null");
69 this.method = method;
76 return build(method, orde
122 build(RopMethod method, int[] order, BlockAddresses addresses) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DAnnotationUtils.java116 * @param method {@code non-null;} the enclosing method
119 public static Annotation makeEnclosingMethod(CstMethodRef method) { argument
122 result.put(new NameValuePair(VALUE_UTF, method));
H A DAnnotationsDirectoryItem.java133 * It is only valid to call this method at most once per instance.
167 * Adds a method annotations item to this instance.
169 * @param method {@code non-null;} method in question
172 public void addMethodAnnotations(CstMethodRef method, argument
178 methodAnnotations.add(new MethodAnnotationStruct(method,
185 * @param method {@code non-null;} method in question
188 public void addParameterAnnotations(CstMethodRef method, argument
194 parameterAnnotations.add(new ParameterAnnotationStruct(method, lis
204 getMethodAnnotations(CstMethodRef method) argument
225 getParameterAnnotations(CstMethodRef method) argument
[all...]
H A DClassDataItem.java151 * Adds a direct ({@code static} and/or {@code private}) method.
153 * @param method {@code non-null;} the method to add
155 public void addDirectMethod(EncodedMethod method) { argument
156 if (method == null) {
157 throw new NullPointerException("method == null");
160 directMethods.add(method);
164 * Adds a virtual method.
166 * @param method {@code non-null;} the method t
168 addVirtualMethod(EncodedMethod method) argument
[all...]
H A DClassDefItem.java293 * Adds a direct ({@code static} and/or {@code private}) method.
295 * @param method {@code non-null;} the method to add
297 public void addDirectMethod(EncodedMethod method) { argument
298 classData.addDirectMethod(method);
302 * Adds a virtual method.
304 * @param method {@code non-null;} the method to add
306 public void addVirtualMethod(EncodedMethod method) { argument
307 classData.addVirtualMethod(method);
349 addMethodAnnotations(CstMethodRef method, Annotations annotations) argument
360 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument
372 getMethodAnnotations(CstMethodRef method) argument
383 getParameterAnnotations(CstMethodRef method) argument
[all...]
H A DEncodedMethod.java31 * Class that representats a method of a class.
35 /** {@code non-null;} constant for the method */
36 private final CstMethodRef method; field in class:EncodedMethod
39 * {@code null-ok;} code for the method, if the method is neither
47 * @param method {@code non-null;} constant for the method
49 * @param code {@code null-ok;} code for the method, if it is neither
54 public EncodedMethod(CstMethodRef method, int accessFlags, argument
58 if (method
[all...]
H A DMethodAnnotationStruct.java26 * Association of a method and its annotations.
30 /** {@code non-null;} the method in question */
31 private final CstMethodRef method; field in class:MethodAnnotationStruct
39 * @param method {@code non-null;} the method in question
42 public MethodAnnotationStruct(CstMethodRef method, argument
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
[all...]
H A DMethodIdItem.java22 * Representation of a method reference inside a Dalvik file.
28 * @param method {@code non-null;} the constant for the method
30 public MethodIdItem(CstBaseMethodRef method) { argument
31 super(method);
50 * Gets the method constant.
H A DMethodIdsSection.java32 * {@code non-null;} map from method constants to {@link
95 * @param method {@code non-null;} the reference to intern
98 public MethodIdItem intern(CstBaseMethodRef method) { argument
99 if (method == null) {
100 throw new NullPointerException("method == null");
105 MethodIdItem result = methodIds.get(method);
108 result = new MethodIdItem(method);
109 methodIds.put(method, result);
H A DParameterAnnotationStruct.java29 * Association of a method and its parameter annotations.
33 /** {@code non-null;} the method in question */
34 private final CstMethodRef method; field in class:ParameterAnnotationStruct
45 * @param method {@code non-null;} the method in question
48 public ParameterAnnotationStruct(CstMethodRef method, argument
50 if (method == null) {
51 throw new NullPointerException("method == null");
58 this.method = method;
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DLocalVariableExtractor.java24 * a method.
27 /** {@code non-null;} method being extracted from */
28 private final RopMethod method; field in class:LocalVariableExtractor
30 /** {@code non-null;} block list for the method */
40 * Extracts out all the local variable information from the given method.
42 * @param method {@code non-null;} the method to extract from
45 public static LocalVariableInfo extract(RopMethod method) { argument
46 LocalVariableExtractor lve = new LocalVariableExtractor(method);
51 * Constructs an instance. This method i
55 LocalVariableExtractor(RopMethod method) argument
[all...]
H A DLocalVariableInfo.java30 /** {@code >= 0;} the register count for the method */
36 * max size for the method
53 * @param method {@code non-null;} the method being represented by this instance
55 public LocalVariableInfo(RopMethod method) { argument
56 if (method == null) {
57 throw new NullPointerException("method == null");
60 BasicBlockList blocks = method.getBlocks();
179 * method, since the spec that is stored here should always have a
235 * Helper method, t
[all...]
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DAttEnclosingMethod.java33 /** {@code null-ok;} the name-and-type of the innermost enclosing method, if any */
34 private final CstNat method; field in class:AttEnclosingMethod
40 * @param method {@code null-ok;} the name-and-type of the innermost enclosing
41 * method, if any
43 public AttEnclosingMethod(CstType type, CstNat method) { argument
51 this.method = method;
69 * Gets the name-and-type of the innermost enclosing method, if
73 * method, if any
76 return method;
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DBasicBlocker.java32 /** {@code non-null;} method being converted */
33 private final ConcreteMethod method; field in class:BasicBlocker
71 * Identifies and enumerates the basic blocks in the given method,
75 * @param method {@code non-null;} method to convert
78 public static ByteBlockList identifyBlocks(ConcreteMethod method) { argument
79 BasicBlocker bb = new BasicBlocker(method);
89 * @param method {@code non-null;} method to convert
91 private BasicBlocker(ConcreteMethod method) { argument
[all...]
H A DConcreteMethod.java34 * Container for all the giblets that make up a concrete Java bytecode method.
37 * stuff extracted from the method's {@code Code} attribute.
40 /** {@code non-null;} method being wrapped */
41 private final Method method; field in class:ConcreteMethod
50 * whether the class that this method is part of is defined with
67 * @param method {@code non-null;} the method to be based on
68 * @param cf {@code non-null;} the class file that contains this method
74 public ConcreteMethod(Method method, ClassFile cf, boolean keepLines, boolean keepLocals) { argument
75 this(method, c
78 ConcreteMethod(Method method, int accessFlags, CstString sourceFile, boolean keepLines, boolean keepLocals) argument
[all...]
H A DRopper.java45 /** label offset for the synchronized method final return block */
48 /** label offset for the first synchronized method setup block */
51 /** label offset for the second synchronized method setup block */
55 * label offset for the first synchronized method exception
61 * label offset for the second synchronized method exception
69 /** {@code non-null;} method being converted */
70 private final ConcreteMethod method; field in class:Ropper
75 /** max locals of the method */
110 * whether an exception-handler block for a synchronized method was
244 * @param method {
248 convert(ConcreteMethod method, TranslationAdvice advice) argument
268 Ropper(ConcreteMethod method, TranslationAdvice advice) argument
[all...]
H A DRopperMachine.java56 * {@code non-null;} method constant for use in converting
68 /** {@code non-null;} method being converted */
69 private final ConcreteMethod method; field in class:RopperMachine
74 /** max locals of the method */
124 * @param method {@code non-null;} method being converted
127 public RopperMachine(Ropper ropper, ConcreteMethod method, argument
129 super(method.getEffectiveDescriptor());
140 this.method = method;
[all...]
H A DSimulator.java64 * @param method {@code non-null;} method data to use
66 public Simulator(Machine machine, ConcreteMethod method) { argument
71 if (method == null) {
72 throw new NullPointerException("method == null");
76 this.code = method.getCode();
77 this.localVariables = method.getLocalVariables();
642 * Convert the interface method ref into a normal
643 * method ref.
/dalvik/dx/src/com/android/dx/cf/direct/
H A DStdAttributeFactory.java362 CstNat method = (CstNat) pool.get0Ok(idx);
364 Attribute result = new AttEnclosingMethod(type, method);
368 observer.parsed(bytes, offset + 2, 2, "method: " +
369 DirectClassFile.stringOrNone(method));
/dalvik/dx/src/com/android/dx/cf/iface/
H A DStdMethodList.java41 * Sets the method at the given index.
43 * @param n {@code >= 0, < size();} which method
44 * @param method {@code null-ok;} the method object
46 public void set(int n, Method method) { argument
47 set0(n, method);
/dalvik/dx/src/com/android/dx/command/dump/
H A DArgs.java53 /** if non-null, an explicit method to dump */
54 String method; field in class:Args
H A DBlockDumper.java65 /** whether this is the first method being dumped */
144 * @param name method name
145 * @return true if this method should be dumped
148 return args.method == null || args.method.equals(name);
156 // It's a field, not a method
164 // Reset the dump cursor to the start of the method.
175 parsed(bytes, offset, 0, "method " + name + " " + descriptor);
209 * @param meth {@code non-null;} method data to dump
284 * @param meth {@code non-null;} method dat
[all...]
H A DDotDumper.java82 * @param name method name
83 * @return true if this method should be dumped
86 return args.method == null || args.method.equals(name);

Completed in 298 milliseconds

1234567891011>>