public abstract class ApiDiff extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ApiDiff.ClassMemberKey
A per class unique identifier for a field or method.
|
Constructor and Description |
---|
ApiDiff() |
Modifier and Type | Method and Description |
---|---|
static ApiDiff |
fromMembers(Set<String> unsupportedClasses,
com.google.common.collect.Multimap<String,ApiDiff.ClassMemberKey> unsupportedMembersByClass) |
static ApiDiff |
fromProto(ApiDiffProto.Diff diff)
Converts a
ApiDiffProto.Diff to a ApiDiff . |
ApiDiffProto.Diff |
toProto()
Converts a
ApiDiff to a ApiDiffProto.Diff . |
abstract com.google.common.collect.ImmutableSet<String> |
unsupportedClasses()
Binary names of classes only present in the new API.
|
abstract com.google.common.collect.ImmutableSetMultimap<String,ApiDiff.ClassMemberKey> |
unsupportedMembersByClass()
Members only present in the new API, grouped by binary name of their declaring class.
|
public abstract com.google.common.collect.ImmutableSet<String> unsupportedClasses()
public abstract com.google.common.collect.ImmutableSetMultimap<String,ApiDiff.ClassMemberKey> unsupportedMembersByClass()
public static ApiDiff fromMembers(Set<String> unsupportedClasses, com.google.common.collect.Multimap<String,ApiDiff.ClassMemberKey> unsupportedMembersByClass)
public static ApiDiff fromProto(ApiDiffProto.Diff diff)
ApiDiffProto.Diff
to a ApiDiff
.public ApiDiffProto.Diff toProto()
ApiDiff
to a ApiDiffProto.Diff
.Copyright © 2019. All rights reserved.