/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/ |
ConstructorDeclarationTransformationsTest.java | 5 * This file is part of JavaParser. 7 * JavaParser can be used either under the terms of 9 * the Free Software Foundation, either version 3 of the License, or 11 * b) the terms of the Apache License 13 * You should have received a copy of both licenses in LICENCE.LGPL and 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 62 cd.setModifiers(EnumSet.of(Modifier.PUBLIC)); 76 cd.setModifiers(EnumSet.of(Modifier.PROTECTED));
|
MethodDeclarationTransformationsTest.java | 5 * This file is part of JavaParser. 7 * JavaParser can be used either under the terms of 9 * the Free Software Foundation, either version 3 of the License, or 11 * b) the terms of the Apache License 13 * You should have received a copy of both licenses in LICENCE.LGPL and 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 62 it.setModifiers(EnumSet.of(Modifier.PUBLIC)); 76 it.setModifiers(EnumSet.of(Modifier.PROTECTED));
|
/external/libxml2/doc/ |
libxml-doc.el | 8 ;; modify it under the terms of the GNU General Public License 10 ;; of the License, or (at your option) any later version. 13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of 17 ;; You should have received a copy of the GNU General Public License 72 ;; complete rewrite of libxmldoc-lookup-symbol 74 ;; - Now keeps the list of symbols between calls to speed things up. 81 ;; update README: use autoload instead of load+c-mode-hook 83 ;; string-match of XEmacs when used in completing-read used the 84 ;; minibuffer's value of case-fold-search, and not the one in the 92 ;; - keep (match-string 1) in a variable (libxmldoc-get-list-of-symbols [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/ |
ContentProviderController.java | 19 public static <T extends ContentProvider> ContentProviderController<T> of(T contentProvider) { method in class:ContentProviderController
|
FragmentController.java | 18 public static <F extends Fragment> FragmentController<F> of(F fragment) { method in class:FragmentController 19 return of(fragment, FragmentControllerActivity.class, null, null); 22 public static <F extends Fragment> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass) { method in class:FragmentController 23 return of(fragment, activityClass, null, null); 26 public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent) { method in class:FragmentController 30 public static <F extends Fragment> FragmentController<F> of(F fragment, Bundle arguments) { method in class:FragmentController 34 public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent, Bundle arguments) { method in class:FragmentController 39 public static <F extends Fragment> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass, Intent intent) { method in class:FragmentController 43 public static <F extends Fragment> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass, Bundle arguments) { method in class:FragmentController 47 public static <F extends Fragment> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass method in class:FragmentController [all...] |
IntentServiceController.java | 17 public static <T extends IntentService> IntentServiceController<T> of(final T service, final Intent intent) { method in class:IntentServiceController
|
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/ |
SupportFragmentController.java | 13 * Version of FragmentController that can be used for android.support.v4.Fragment. Only 31 public static <F extends Fragment> SupportFragmentController<F> of(F fragment) { method in class:SupportFragmentController 35 public static <F extends Fragment> SupportFragmentController<F> of(F fragment, Class<? extends FragmentActivity> activityClass) { method in class:SupportFragmentController 39 public static <F extends Fragment> SupportFragmentController<F> of(F fragment, Class<? extends FragmentActivity> activityClass, Intent intent) { method in class:SupportFragmentController
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
ImmutableClassDef.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 135 public static ImmutableClassDef of(ClassDef classDef) { method in class:ImmutableClassDef [all...] |
ImmutableMethod.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 91 public static ImmutableMethod of(Method method) { method in class:ImmutableMethod [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/ |
ImmutableInstruction35c.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 73 public static ImmutableInstruction35c of(Instruction35c instruction) { method in class:ImmutableInstruction35c [all...] |
ImmutableInstruction35mi.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 70 public static ImmutableInstruction35mi of(Instruction35mi instruction) { method in class:ImmutableInstruction35mi [all...] |
ImmutableInstruction35ms.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 70 public static ImmutableInstruction35ms of(Instruction35ms instruction) { method in class:ImmutableInstruction35ms [all...] |
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/ |
SuperclassChainTest.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 68 ImmutableList.<TypeProto>of(), method 72 ImmutableList.<TypeProto>of(objectClassProto), method 76 ImmutableList.<TypeProto>of(oneClassProto, objectClassProto), method 80 ImmutableList.<TypeProto>of(twoClassProto, oneClassProto, objectClassProto), method 99 ImmutableList.<TypeProto>of(oneClassProto, unknownClassProto), method 103 ImmutableList.<TypeProto>of(twoClassProto, oneClassProto, unknownClassProto), method [all...] |
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
BugreportProgressServiceTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 109 assertEquals(UserHandle.of(expectedUserId), actual.first); 116 list(UserHandle.of(UserHandle.USER_SYSTEM))); 179 list(UserHandle.of(UserHandle.USER_SYSTEM), UserHandle.of(10))); 247 list(UserHandle.of(UserHandle.USER_SYSTEM), UserHandle.of(10))); 314 list(UserHandle.of(UserHandle.USER_SYSTEM), UserHandle.of(10))) [all...] |
/libcore/luni/src/test/java/libcore/java/time/ |
YearMonthTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 41 YearMonth ym = YearMonth.of(2000, Month.JANUARY); 43 YearMonth bceYm = YearMonth.of(-1999, Month.JANUARY); 45 assertEquals(YearMonth.of(1000, Month.JANUARY), ym.with(ChronoField.YEAR, 1000)); 46 assertEquals(YearMonth.of(-1, Month.JANUARY), ym.with(ChronoField.YEAR, -1)); 47 assertEquals(YearMonth.of(2000, Month.FEBRUARY), ym.with(ChronoField.MONTH_OF_YEAR, 2)); 48 assertEquals(YearMonth.of(-1999, Month.DECEMBER), 55 assertEquals(YearMonth.of(1, Month.JANUARY), ym.with(ChronoField.YEAR_OF_ERA, 1)); 57 assertEquals(YearMonth.of(0, Month.JANUARY), bceYm.with(ChronoField.YEAR_OF_ERA, 1)) [all...] |
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
JapaneseChronologyTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 44 .of(2017, 4, 1, 15, 14, 13, 12, ZoneId.of("Europe/London")); 48 assertEquals(JapaneseDate.of(JapaneseEra.HEISEI, 29, 4, 1), result.toLocalDate()); 49 assertEquals(LocalTime.of(15, 14, 13, 12), result.toLocalTime()); 70 // pick the first january of the second year of each era, except for Meiji, because the 72 assertEquals(JapaneseEra.MEIJI, JapaneseDate.from(LocalDate.of(1873, 1, 1)).getEra()); 73 assertEquals(JapaneseEra.TAISHO, JapaneseDate.from(LocalDate.of(1913, 1, 1)).getEra()) [all...] |
/libcore/ojluni/src/main/java/java/time/ |
DayOfWeek.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO 163 public static DayOfWeek of(int dayOfWeek) { method in class:DayOfWeek [all...] |
ZoneId.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO 305 public static ZoneId of(String zoneId, Map<String, String> aliasMap) { method in class:ZoneId 353 public static ZoneId of(String zoneId) { method in class:ZoneId 397 static ZoneId of(String zoneId, boolean checkAvailable) { method in class:ZoneId [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Optional.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 38 * <p>Additional methods that depend on the presence or absence of a contained 42 * of code if the value is present). 76 * @param <T> Type of the non-existent value 98 * @param <T> the class of the value 103 public static <T> Optional<T> of(T value) { method in class:Optional 111 * @param <T> the class of the value 117 return value == null ? empty() : of(value) [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
AtomicMarkableReference.java | 5 * under the terms of the GNU General Public License version 2 only, as 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 * You should have received a copy of the GNU General Public License version 28 * However, the following notice accompanied the original version of this 31 * Written by Doug Lea with assistance from members of JCP JSR-166 48 * @param <V> The type of object referred to by this reference 59 static <T> Pair<T> of(T reference, boolean mark) { method in class:AtomicMarkableReference.Pair 74 pair = Pair.of(initialRef, initialMark); 78 * Returns the current value of the reference. 80 * @return the current value of the referenc [all...] |
AtomicStampedReference.java | 5 * under the terms of the GNU General Public License version 2 only, as 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 * You should have received a copy of the GNU General Public License version 28 * However, the following notice accompanied the original version of this 31 * Written by Doug Lea with assistance from members of JCP JSR-166 48 * @param <V> The type of object referred to by this reference 59 static <T> Pair<T> of(T reference, int stamp) { method in class:AtomicStampedReference.Pair 74 pair = Pair.of(initialRef, initialStamp); 78 * Returns the current value of the reference. 80 * @return the current value of the referenc [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
MockSimplePeriod.java | 6 * under the terms of the GNU General Public License version 2 only, as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 * You should have received a copy of the GNU General Public License version 27 * However, the following notice accompanied the original version of this 37 * * Redistributions of source code must retain the above copyright notice, 38 * this list of conditions and the following disclaimer. 41 * this list of conditions and the following disclaimer in the documentation 44 * * Neither the name of JSR-310 nor the names of its contributors 50 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO 107 public static MockSimplePeriod of(long amount, TemporalUnit unit) { method in class:MockSimplePeriod [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
TCKIsoEra.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 34 * * Redistributions of source code must retain the above copyright notice, 35 * this list of conditions and the following disclaimer. 38 * this list of conditions and the following disclaimer in the documentation 41 * * Neither the name of JSR-310 nor the names of its contributors 47 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, O [all...] |
TCKJapaneseEra.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 34 * * Redistributions of source code must retain the above copyright notice, 35 * this list of conditions and the following disclaimer. 38 * this list of conditions and the following disclaimer in the documentation 41 * * Neither the name of JSR-310 nor the names of its contributors 47 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, O [all...] |
TCKMinguoEra.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 34 * * Redistributions of source code must retain the above copyright notice, 35 * this list of conditions and the following disclaimer. 38 * this list of conditions and the following disclaimer in the documentation 41 * * Neither the name of JSR-310 nor the names of its contributors 47 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, O [all...] |