Uses of Class
java.lang.SuppressWarnings

Packages that use SuppressWarnings
Package Description
com.squareup.okhttp.internal.http  
java.io  
java.lang  
java.lang.ref  
java.lang.reflect  
java.net  
java.sql  
java.util  
java.util.concurrent
Utility classes commonly useful in concurrent programming.
java.util.jar  
javax.crypto
This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or key agreement.
javax.security.auth  
libcore.reflect  
org.conscrypt  
org.robovm.rt.bro  
org.robovm.rt.bro.ptr  
  • Uses of SuppressWarnings in com.squareup.okhttp.internal.http

    Methods in com.squareup.okhttp.internal.http with annotations of type SuppressWarnings
    Modifier and Type Method Description
    Object HttpsURLConnectionImpl.getContent​(Class[] types)  
  • Uses of SuppressWarnings in java.io

    Methods in java.io with annotations of type SuppressWarnings
    Modifier and Type Method Description
    int LineNumberInputStream.read()
    Deprecated.
    Reads a single byte from the filtered stream and returns it as an integer in the range from 0 to 255.
    int LineNumberReader.read()
    Reads a single character from the source reader and returns it as an integer with the two higher-order bytes set to 0.
  • Uses of SuppressWarnings in java.lang

    Fields in java.lang with annotations of type SuppressWarnings
    Modifier and Type Field Description
    static Class<Boolean> Boolean.TYPE
    The Class object that represents the primitive type boolean.
    static Class<Byte> Byte.TYPE
    The Class object that represents the primitive type byte.
    static Class<Character> Character.TYPE
    The Class object that represents the primitive type char.
    static Class<Double> Double.TYPE
    The Class object that represents the primitive type double.
    static Class<Float> Float.TYPE
    The Class object that represents the primitive type float.
    static Class<Integer> Integer.TYPE
    The Class object that represents the primitive type int.
    static Class<Long> Long.TYPE
    The Class object that represents the primitive type long.
    static Class<Short> Short.TYPE
    The Class object that represents the primitive type short.
    Methods in java.lang with annotations of type SuppressWarnings
    Modifier and Type Method Description
    <U> Class<? extends U> Class.asSubclass​(Class<U> c)
    Casts this Class to represent a subclass of the given class.
    T Class.cast​(Object obj)
    Casts the given object to the type represented by this Class.
    Class<? extends Enum> EnumConstantNotPresentException.enumType()
    Gets the enum type for which the constant name is missing.
    protected void Enum.finalize()
    Enum types may not have finalizers.
    protected Enumeration<URL> ClassLoader.findResources​(String resName)
    Finds an enumeration of URLs for the resource with the specified name.
    T ThreadLocal.get()
    Returns the value of this variable for the current thread.
    <A extends Annotation>
    A
    Package.getAnnotation​(Class<A> annotationType)
    Returns the annotation associated with the specified annotation type and this package, if present.
    Constructor<T> Class.getConstructor​(Class<?>... parameterTypes)
    Returns a Constructor object which represents the public constructor matching the given parameter types.
    Constructor<T> Class.getDeclaredConstructor​(Class<?>... parameterTypes)
    Returns a Constructor object which represents the constructor matching the given parameter types that is declared by the class represented by this Class.
    Class<E> Enum.getDeclaringClass()
    Returns the enum constant's declaring class.
    T[] Class.getEnumConstants()
    Returns the enum constants associated with this Class.
    Enumeration<URL> ClassLoader.getResources​(String resName)
    Returns an enumeration of URLs for the resource with the specified name.
    static <T extends Enum<T>>
    T[]
    Enum.getSharedConstants​(Class<T> enumType)
    Returns a shared, mutable array containing the constants of this enum.
    TypeVariable<Class<T>>[] Class.getTypeParameters()
    Returns an array containing TypeVariable objects for type variables declared by the generic class represented by this Class.
    void ThreadGroup.resume()
    Deprecated.
    Requires deprecated method Thread.resume().
    static void System.runFinalizersOnExit​(boolean flag)
    Deprecated.
    This method is unsafe.
    void ThreadGroup.stop()
    Deprecated.
    Requires deprecated method Thread.stop().
    void ThreadGroup.suspend()
    Deprecated.
    Requires deprecated method Thread.suspend().
    Constructors in java.lang with annotations of type SuppressWarnings
    Constructor Description
    EnumConstantNotPresentException​(Class<? extends Enum> enumType, String constantName)
    Constructs a new EnumConstantNotPresentException with the current stack trace and a detail message based on the specified enum type and missing constant name.
  • Uses of SuppressWarnings in java.lang.ref

    Methods in java.lang.ref with annotations of type SuppressWarnings
    Modifier and Type Method Description
    Reference<? extends T> ReferenceQueue.poll()
    Returns the next available reference from the queue, removing it in the process.
  • Uses of SuppressWarnings in java.lang.reflect

    Methods in java.lang.reflect with annotations of type SuppressWarnings
    Modifier and Type Method Description
    Class<?> Member.getDeclaringClass()
    Returns the class that declares this member.
    T Constructor.newInstance​(Object... args)
    Returns a new instance of the declaring class, initialized by dynamically invoking the constructor represented by this Constructor object.
  • Uses of SuppressWarnings in java.net

    Methods in java.net with annotations of type SuppressWarnings
    Modifier and Type Method Description
    Object ContentHandler.getContent​(URLConnection uConn, Class[] types)
    Returns the object pointed by the specified URL connection uConn.
    Object URL.getContent​(Class[] types)
    Equivalent to openConnection().getContent(types).
    Object URLConnection.getContent​(Class[] types)
    Returns an object representing the content of the resource this URLConnection is connected to.
    long URLConnection.getHeaderFieldDate​(String field, long defaultValue)
    Returns the specified header value as a date in milliseconds since January 1, 1970 GMT.
  • Uses of SuppressWarnings in java.sql

    Methods in java.sql with annotations of type SuppressWarnings
    Modifier and Type Method Description
    int Time.getDate()
    Deprecated.
    This method is deprecated and must not be used.
    int Time.getDay()
    Deprecated.
    This method is deprecated and must not be used.
    int Time.getMonth()
    Deprecated.
    This method is deprecated and must not be used.
    int Time.getYear()
    Deprecated.
    This method is deprecated and must not be used.
    void Time.setDate​(int i)
    Deprecated.
    This method is deprecated and must not be used.
    void Time.setMonth​(int i)
    Deprecated.
    This method is deprecated and must not be used.
    void Time.setYear​(int i)
    Deprecated.
    This method is deprecated and must not be used.
    String Timestamp.toString()
    Returns the timestamp formatted as a String in the JDBC Timestamp Escape format, which is "yyyy-MM-dd HH:mm:ss.nnnnnnnnn".
    Constructors in java.sql with annotations of type SuppressWarnings
    Constructor Description
    Time​(int theHour, int theMinute, int theSecond)
    Deprecated.
    Use the constructor Time(long) instead.
    Timestamp​(int theYear, int theMonth, int theDate, int theHour, int theMinute, int theSecond, int theNano)
    Deprecated.
    Use the constructor Timestamp(long) instead.
  • Uses of SuppressWarnings in java.util

    Fields in java.util with annotations of type SuppressWarnings
    Modifier and Type Field Description
    static List Collections.EMPTY_LIST
    An empty immutable instance of List.
    static Map Collections.EMPTY_MAP
    An empty immutable instance of Map.
    static Set Collections.EMPTY_SET
    An empty immutable instance of Set.
    Methods in java.util with annotations of type SuppressWarnings
    Modifier and Type Method Description
    static <T> int Collections.binarySearch​(List<? extends Comparable<? super T>> list, T object)
    Performs a binary search for the specified element in the specified sorted list.
    static <T> int Collections.binarySearch​(List<? extends T> list, T object, Comparator<? super T> comparator)
    Performs a binary search for the specified element in the specified sorted list using the specified comparator.
    protected Object AbstractMap.clone()  
    EnumMap<K,​V> EnumMap.clone()
    Returns a shallow copy of this EnumMap.
    EnumSet<E> EnumSet.clone()
    Creates a new enum set with the same elements as those contained in this enum set.
    Object HashMap.clone()
    Returns a shallow copy of this map.
    Object HashSet.clone()
    Returns a new HashSet with the same elements and size as this HashSet.
    Object Hashtable.clone()
    Returns a new Hashtable with the same key/value pairs, capacity and load factor.
    Object LinkedList.clone()
    Returns a new LinkedList with the same elements and size as this LinkedList.
    Object TreeSet.clone()
    Returns a new TreeSet with the same elements, size and comparator as this TreeSet.
    Object Vector.clone()
    Returns a new vector with the same elements, size, capacity and capacity increment as this vector.
    static <T> T[] Arrays.copyOfRange​(T[] original, int start, int end)
    Copies elements from original into a new array, from indexes start (inclusive) to end (exclusive).
    static <T,​ U> T[] Arrays.copyOfRange​(U[] original, int start, int end, Class<? extends T[]> newType)
    Copies elements from original into a new array, from indexes start (inclusive) to end (exclusive).
    E Vector.elementAt​(int location)
    Returns the element at the specified location in this vector.
    static <T> Enumeration<T> Collections.emptyEnumeration()
    Returns an enumeration containing no elements.
    static <T> Iterator<T> Collections.emptyIterator()
    Returns an iterator containing no elements.
    static <T> List<T> Collections.emptyList()
    Returns a type-safe empty, immutable List.
    static <K,​ V> Map<K,​V> Collections.emptyMap()
    Returns a type-safe empty, immutable Map.
    static <T> Set<T> Collections.emptySet()
    Returns a type-safe empty, immutable Set.
    boolean EnumMap.equals​(Object object)
    Compares the argument to the receiver, and returns true if the specified Object is an EnumMap and both EnumMaps contain the same mappings.
    E Vector.firstElement()
    Returns the first element in this vector.
    E ArrayList.get​(int index)  
    V EnumMap.get​(Object key)
    Returns the value of the mapping with the specified key.
    SortedSet<E> TreeSet.headSet​(E end)
    Returns a SortedSet of the specified portion of this TreeSet which contains elements less than the end element.
    NavigableSet<E> TreeSet.headSet​(E end, boolean endInclusive)
    Returns a view of the portion of this set whose elements are less than (or equal to, if inclusive is true) toElement.
    E Vector.lastElement()
    Returns the last element in this vector.
    void Properties.load​(Reader in)
    Loads properties from the specified Reader.
    byte Scanner.nextByte​(int radix)
    Returns the next token as a byte with the specified radix.
    double Scanner.nextDouble()
    Returns the next token as a double.
    float Scanner.nextFloat()
    Returns the next token as a float.
    int Scanner.nextInt​(int radix)
    Returns the next token as an int with the specified radix.
    long Scanner.nextLong​(int radix)
    Returns the next token as a long with the specified radix.
    short Scanner.nextShort​(int radix)
    Returns the next token as a short with the specified radix.
    void Observable.notifyObservers​(Object data)
    If hasChanged() returns true, calls the update() method for every Observer in the list of observers using the specified argument.
    E Stack.peek()
    Returns the element at the top of the stack without removing it.
    E Stack.pop()
    Returns the element at the top of the stack and removes it.
    V EnumMap.put​(K key, V value)
    Maps the specified key to the specified value.
    void EnumMap.putAll​(Map<? extends K,​? extends V> map)
    Copies every mapping in the specified Map to this EnumMap.
    V EnumMap.remove​(Object key)
    Removes a mapping with the specified key from this EnumMap.
    boolean PriorityQueue.remove​(Object o)
    Removes the specified object from the priority queue.
    E Vector.remove​(int location)
    Removes the object at the specified location from this vector.
    static void Collections.reverse​(List<?> list)
    Modifies the specified List by reversing the order of the elements.
    static <T> Comparator<T> Collections.reverseOrder()
    A comparator which reverses the natural order of the elements.
    static void Collections.rotate​(List<?> lst, int dist)
    Rotates the elements in list by the distance dist
    E Vector.set​(int location, E object)
    Replaces the element at the specified location in this vector with the specified object.
    static <T extends Comparable<? super T>>
    void
    Collections.sort​(List<T> list)
    Sorts the given list in ascending natural order.
    static <T> void Collections.sort​(List<T> list, Comparator<? super T> comparator)
    Sorts the given list using the given comparator.
    NavigableSet<E> TreeSet.subSet​(E start, boolean startInclusive, E end, boolean endInclusive)
    Returns a view of the portion of this set whose elements range from fromElement to toElement.
    SortedSet<E> TreeSet.subSet​(E start, E end)
    Returns a SortedSet of the specified portion of this TreeSet which contains elements greater or equal to the start element but less than the end element.
    static void Collections.swap​(List<?> list, int index1, int index2)
    Swaps the elements of list list at indices index1 and index2.
    SortedSet<E> TreeSet.tailSet​(E start)
    Returns a SortedSet of the specified portion of this TreeSet which contains elements greater or equal to the start element.
    NavigableSet<E> TreeSet.tailSet​(E start, boolean startInclusive)
    Returns a view of the portion of this set whose elements are greater than (or equal to, if inclusive is true) fromElement.
    <T> T[] ArrayDeque.toArray​(T[] a)
    Returns an array containing all of the elements in this deque in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.
    <T> T[] LinkedList.toArray​(T[] contents)
    Returns an array containing all elements contained in this LinkedList.
    <T> T[] Vector.toArray​(T[] contents)
    Returns an array containing all elements contained in this vector.
    static <E> Collection<E> Collections.unmodifiableCollection​(Collection<? extends E> collection)
    Returns a wrapper on the specified collection which throws an UnsupportedOperationException whenever an attempt is made to modify the collection.
    static <E> List<E> Collections.unmodifiableList​(List<? extends E> list)
    Returns a wrapper on the specified list which throws an UnsupportedOperationException whenever an attempt is made to modify the list.
    static <K,​ V> Map<K,​V> Collections.unmodifiableMap​(Map<? extends K,​? extends V> map)
    Returns a wrapper on the specified map which throws an UnsupportedOperationException whenever an attempt is made to modify the map.
    static <E> Set<E> Collections.unmodifiableSet​(Set<? extends E> set)
    Returns a wrapper on the specified set which throws an UnsupportedOperationException whenever an attempt is made to modify the set.
    static <K,​ V> SortedMap<K,​V> Collections.unmodifiableSortedMap​(SortedMap<K,​? extends V> map)
    Returns a wrapper on the specified sorted map which throws an UnsupportedOperationException whenever an attempt is made to modify the sorted map.
    Constructors in java.util with annotations of type SuppressWarnings
    Constructor Description
    EnumMap​(Map<K,​? extends V> map)
    Constructs an EnumMap initialized from the given map.
    HashMap()
    Constructs a new empty HashMap instance.
    Hashtable()
    Constructs a new Hashtable using the default capacity and load factor.
    TreeMap()
    Create a natural order, empty tree map whose keys must be mutually comparable and non-null.
    TreeMap​(Comparator<? super K> comparator)
    Create a tree map ordered by comparator.
    TreeMap​(SortedMap<K,​? extends V> copyFrom)
    Create a tree map with the ordering and key/value pairs of copyFrom.
  • Uses of SuppressWarnings in java.util.concurrent

    Classes in java.util.concurrent with annotations of type SuppressWarnings
    Modifier and Type Class Description
    class  ConcurrentSkipListMap<K,​V>
    A scalable concurrent ConcurrentNavigableMap implementation.
    class  PriorityBlockingQueue<E>
    An unbounded blocking queue that uses the same ordering rules as class PriorityQueue and supplies blocking retrieval operations.
    Methods in java.util.concurrent with annotations of type SuppressWarnings
    Modifier and Type Method Description
    boolean ConcurrentHashMap.containsKey​(Object key)
    Tests if the specified object is a key in this table.
    V Exchanger.exchange​(V x)
    Waits for another thread to arrive at this exchange point (unless the current thread is interrupted), and then transfers the given object to it, receiving its object in return.
    V Exchanger.exchange​(V x, long timeout, TimeUnit unit)
    Waits for another thread to arrive at this exchange point (unless the current thread is interrupted or the specified waiting time elapses), and then transfers the given object to it, receiving its object in return.
    E CopyOnWriteArrayList.get​(int index)  
    Iterator<E> SynchronousQueue.iterator()
    Returns an empty iterator in which hasNext always returns false.
    V ConcurrentHashMap.put​(K key, V value)
    Maps the specified key to the specified value in this table.
    V ConcurrentHashMap.putIfAbsent​(K key, V value)
    If the specified key is not already associated with a value, associate it with the given value.
    <T> T[] ArrayBlockingQueue.toArray​(T[] a)
    Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.
    <T> T[] ConcurrentLinkedQueue.toArray​(T[] a)
    Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.
    <T> T[] CopyOnWriteArrayList.toArray​(T[] contents)  
    Object[] LinkedBlockingDeque.toArray()
    Returns an array containing all of the elements in this deque, in proper sequence (from first to last element).
    <T> T[] LinkedBlockingDeque.toArray​(T[] a)
    Returns an array containing all of the elements in this deque, in proper sequence; the runtime type of the returned array is that of the specified array.
    <T> T[] LinkedBlockingQueue.toArray​(T[] a)
    Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.
    Constructors in java.util.concurrent with annotations of type SuppressWarnings
    Constructor Description
    ConcurrentHashMap​(int initialCapacity, float loadFactor, int concurrencyLevel)
    Creates a new, empty map with the specified initial capacity, load factor and concurrency level.
    CopyOnWriteArrayList​(Collection<? extends E> collection)
    Creates a new instance containing the elements of collection.
  • Uses of SuppressWarnings in java.util.jar

    Methods in java.util.jar with annotations of type SuppressWarnings
    Modifier and Type Method Description
    Object Attributes.clone()  
    Object Attributes.put​(Object key, Object value)
    Stores key/value pairs in this Attributes.
    Constructors in java.util.jar with annotations of type SuppressWarnings
    Constructor Description
    Attributes​(Attributes attrib)
    Constructs an Attributes instance obtaining keys and values from the parameter attrib.
    Manifest​(Manifest man)
    Creates a new Manifest instance.
  • Uses of SuppressWarnings in javax.crypto

    Methods in javax.crypto with annotations of type SuppressWarnings
    Modifier and Type Method Description
    protected abstract KeySpec SecretKeyFactorySpi.engineGetKeySpec​(SecretKey key, Class keySpec)
    Returns the key specification of the specified secret key.
    KeySpec SecretKeyFactory.getKeySpec​(SecretKey key, Class keySpec)
    Returns the key specification of the specified secret key.
  • Uses of SuppressWarnings in javax.security.auth

    Methods in javax.security.auth with annotations of type SuppressWarnings
    Modifier and Type Method Description
    static <T> T Subject.doAs​(Subject subject, PrivilegedAction<T> action)
    Runs the code defined by action using the permissions granted to the Subject itself and to the code as well.
    static <T> T Subject.doAs​(Subject subject, PrivilegedExceptionAction<T> action)
    Runs the code defined by action using the permissions granted to the subject and to the code itself.
    static <T> T Subject.doAsPrivileged​(Subject subject, PrivilegedAction<T> action, AccessControlContext context)
    Run the code defined by action using the permissions granted to the Subject and to the code itself, additionally providing a more specific context.
    static <T> T Subject.doAsPrivileged​(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext context)
    Runs the code defined by action using the permissions granted to the subject and to the code itself, additionally providing a more specific context.
  • Uses of SuppressWarnings in libcore.reflect

    Classes in libcore.reflect with annotations of type SuppressWarnings
    Modifier and Type Class Description
    class  AnnotationFactory
    The annotation implementation based on dynamically generated proxy instances.
    class  AnnotationMember
    This class represents member element of an annotation.
  • Uses of SuppressWarnings in org.conscrypt

    Methods in org.conscrypt with annotations of type SuppressWarnings
    Modifier and Type Method Description
    void OpenSSLSocketImpl.clientCertificateRequested​(byte[] keyTypeBytes, byte[][] asn1DerEncodedPrincipals)  
    void OpenSSLSocketImpl.handshakeCompleted()  
    void OpenSSLSocketImpl.verifyCertificateChain​(byte[][] bytes, String authMethod)  
  • Uses of SuppressWarnings in org.robovm.rt.bro

    Methods in org.robovm.rt.bro with annotations of type SuppressWarnings
    Modifier and Type Method Description
    protected static <T extends Bits<T>>
    T[]
    Bits._values​(Class<T> cls)  
    static <T extends Struct<T>>
    void
    Struct.Marshaler.array1DToNative​(T[] o, long handle, long flags, int d1)  
    static <T extends Struct<T>>
    T[]
    Struct.Marshaler.array1DToObject​(Class<T[]> arrayClass, long handle, long flags, int d1)  
    static <T extends Struct<T>>
    void
    Struct.Marshaler.array2DToNative​(T[][] o, long handle, long flags, int d1, int d2)  
    static <T extends Struct<T>>
    T[][]
    Struct.Marshaler.array2DToObject​(Class<T[][]> arrayClass, long handle, long flags, int d1, int d2)  
    static <T extends Struct<T>>
    void
    Struct.Marshaler.array3DToNative​(T[][][] o, long handle, long flags, int d1, int d2, int d3)  
    static <T extends Struct<T>>
    T[][][]
    Struct.Marshaler.array3DToObject​(Class<T[][][]> arrayClass, long handle, long flags, int d1, int d2, int d3)  
    <U extends NativeObject>
    U
    NativeObject.as​(Class<U> type)
    Casts this NativeObject to another NativeObject type.
    <U extends NativeObject>
    U
    Struct.as​(Class<U> type)  
    Set<T> Bits.asSet()  
    T Bits.clear​(T bits)  
    T Struct.copy​(int n)  
    T Struct.copyWithMalloc​(int n)  
    boolean Bits.equals​(Object obj)  
    Iterator<T> Struct.iterator()  
    Iterator<T> Struct.iterator​(int n)  
    T Struct.next​(long delta)  
    T[] Struct.toArray​(int n)  
    static <S extends NativeObject>
    S
    MarshalerLookup.toObject​(Class<S> type, long handle)
    Convenience method which finds a marshaler method and runs it converting the specified handle to the specified type.
    T LazyGlobalValue.value()
    Returns the value of the GlobalValue.
    static <T extends Bits<T>>
    T
    Bits.with​(T t)  
    protected T Struct.wrap​(long address)  
  • Uses of SuppressWarnings in org.robovm.rt.bro.ptr

    Methods in org.robovm.rt.bro.ptr with annotations of type SuppressWarnings
    Modifier and Type Method Description
    T Ptr.set​(long handle)  
    T Ptr.set​(S o)