blob: 50227d5fa58fcc0f3801d5892db65f3b8c1c45e8 [file] [log] [blame]
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.jack;
import com.android.sched.util.log.EventType;
import javax.annotation.Nonnull;
/**
* Jack event type.
*/
public enum JackEventType implements EventType {
NNODE_READING_FOR_IMPORT("NNode reading for import"),
NNODE_READING_FOR_CLASSPATH("NNode reading for classpath"),
NNODE_TO_JNODE_CONVERSION_FOR_IMPORT("NNode to JNode conversion for import"),
NNODE_TO_JNODE_CONVERSION_FOR_CLASSPATH("NNode to JNode conversion for classpath"),
JNODE_TO_NNODE_CONVERSION("JNode to NNode conversion"),
NNODE_WRITING("NNode writing"),
LOOKUP_TRANSFER("Lookup transfer"),
METHOD_ID_MERGER("Method id merger"),
PRELOOKUP("Pre-lookup"),
ECJ_COMPILATION("ECJ compilation"),
GWT_AST_BUILDER("GwtAstBuilder"),
J_AST_BUILDER("JAstBuilder"),
DX_OPTIMIZATION("Dx optimizations on RopMethod"),
REMOVE_DEAD_CODE("Remove dead code"),
DOP_CREATION("Dop creation"),
JACK_RUN("Jack run");
@Nonnull
private final String name;
JackEventType(@Nonnull String name) {
this.name = name;
}
@Override
@Nonnull
public String getName() {
return name;
}
}