blob: b1fa492ba39ed099621cf291b93dac8f7cefa9d4 [file] [log] [blame]
/*
* Copyright 2017 The Bazel Authors. All rights reserved.
*
* 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.google.idea.sdkcompat.android.model;
import com.android.tools.idea.model.AndroidModel;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import javax.annotation.Nullable;
/** Compatibility adapter for {@link AndroidModel}. */
public abstract class AndroidModelAdapter implements AndroidModel {
@Nullable
@Override
public Long getLastBuildTimestamp(Project project) {
return null;
}
public abstract boolean isClassFileOutOfDate(Module module, String fqcn, VirtualFile classFile);
}