blob: ad28bfd7c8e7ddb51fff720efc936e1f22f266d6 [file] [log] [blame]
// Copyright (c) 2023, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.profile;
import com.android.tools.r8.experimental.startup.profile.StartupProfileRule;
import com.android.tools.r8.profile.art.ArtProfileRule;
public interface AbstractProfileRule {
@SuppressWarnings("unchecked")
default ArtProfileRule asArtProfileRule() {
return (ArtProfileRule) this;
}
@SuppressWarnings("unchecked")
default StartupProfileRule asStartupProfileRule() {
return (StartupProfileRule) this;
}
}