blob: e996b3a4f4728bc758b4d7ff881f026873a37be5 [file] [log] [blame]
Alex Light9139e002015-10-09 15:59:48 -07001# /*
2# * Copyright (C) 2015 The Android Open Source Project
3# *
4# * Licensed under the Apache License, Version 2.0 (the "License");
5# * you may not use this file except in compliance with the License.
6# * You may obtain a copy of the License at
7# *
8# * http://www.apache.org/licenses/LICENSE-2.0
9# *
10# * Unless required by applicable law or agreed to in writing, software
11# * distributed under the License is distributed on an "AS IS" BASIS,
12# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# * See the License for the specific language governing permissions and
14# * limitations under the License.
15# */
16#
17# public interface Iface {
18# public default String sayHi() {
19# return "Hi";
20# }
21# public default String charge() {
22# return "CHARGE";
23# }
24# }
25
26.class public abstract interface LIface;
27.super Ljava/lang/Object;
28
29.method public sayHi()Ljava/lang/String;
30 .locals 1
31 const-string v0, "Hi"
32 return-object v0
33.end method
34
35.method public charge()Ljava/lang/String;
36 .locals 1
37 const-string v0, "CHARGE"
38 return-object v0
39.end method