Skip to content

Commit

Permalink
Remove debugging code.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdleitner committed Mar 18, 2017
1 parent ee9637e commit b4cbbb5
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import javax.lang.model.type.DeclaredType;
import javax.lang.model.type.TypeMirror;
import java.util.Set;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import java.util.stream.Stream;

Expand Down Expand Up @@ -114,11 +113,6 @@ public ImmutableList<FieldMetadata> getAllFields() {

/** Methods declared in this type or in any supertype / interface. */
public ImmutableList<MethodMetadata> getAllMethods() {
return getAllMethods(s -> {});
}

/** Methods declared in this type or in any supertype / interface. */
public ImmutableList<MethodMetadata> getAllMethods(Consumer<String> log) {
if (allMethods == null) {
Stream<MethodMetadata> methodStream = Stream.empty();
for (InheritanceMetadata inheritance : inheritances()) {
Expand All @@ -141,9 +135,6 @@ public ImmutableList<MethodMetadata> getAllMethods(Consumer<String> log) {
Set<MethodMetadata> strippedConcreteMethods =
concreteMethods.stream().map(MethodMetadata::withoutAnnotations).collect(toSet());

log.accept("Concrete Methods");
concreteMethods.forEach(method -> log.accept(method.toString()));

Set<MethodMetadata> abstractMethods =
methods
.stream()
Expand All @@ -152,8 +143,6 @@ public ImmutableList<MethodMetadata> getAllMethods(Consumer<String> log) {
method ->
!strippedConcreteMethods.contains(method.asConcrete().withoutAnnotations()))
.collect(toSet());
log.accept("Abstract Methods");
abstractMethods.forEach(method -> log.accept(method.toString()));

allMethods =
ImmutableList.copyOf(
Expand Down

0 comments on commit b4cbbb5

Please sign in to comment.